I am creating a tabbed pane with as follows in struts 2(struts2-core-2.0.11.jar).

```
   <%@ taglib prefix="s" uri="/struts-tags" %>
  <html>  
      <head>
      <s:head theme="ajax" debug="true"/>
      </head>

      <body>

      <s:tabbedPanel id="test" >

      <s:div id="one" label="Tab 1" theme="ajax">
           First Tab
      </s:div>

      <s:div id="two" label="Tab 2" theme="ajax" href="/testAction.action">
       <s:form name="second" >
           second Tab 
       </s:form>
      </s:div>

      <s:div id="three" label="Tab 3" theme="ajax">
         3rd Tab
      </s:div>
     </s:tabbedPanel>
      </body>
</html>

```

what i need is on clicking the Tab 2 testAction gets called which is defined in the struts.xml file. **As a result of this action, home.jsp page should set in Tab2**. Tab2 data is coming from the database hence on clickng this tab action class should gets called.

```
<struts>
    <include file="struts-default.xml"/>
    <package name="a" extends="struts-default">
        <action name="resultAction" class="com.test.LogingEx">
            <result name="success">/success.jsp</result>
            <result name="error">/error.jsp</result>      
        </action>

        <action name="testAction" class="com.test.TestAction">
            <result name="success">/home.jsp</result>

        </action>

    </package>
</struts>

```

But on the tab 2 **Error loading '/testAction.action' (404 Not Found)** is getting displayed. TestAction class is not getting called on clicking of tab2.

My requirement is on clicking the each tab respective action class should get called and jsp mapped in struts.xml file should gets display on respective tabbed pane.

Please help me on this. Appriciate if you can provide struts2 tabbed pane **simple** example which shows above scenario.

Thanks in advance.