I am using struts2 (version 2.1.8 )and jquery plugin(version 1.8.3) for building a web 
application.

I am designing a simple use case where on submitting a form , same page gets loaded on a ui, 
in such a way that : 
1)If there is a from validation error , validation message should be displayed on same page.
2)If there is a success message , the message will be displayed on the same page.

The problem I am facing is , in both of the cases , struts2 redirects to results 
specified in the struts.xml but on a separate page and existing page disappears.

Following is my homepage.(I am using tabbed panel to design tabs.)

```
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<html>
  <head>
    <sj:head jqueryui="true"/>
  </head>
  <body>    
    <s:url var="addUserUrl" action="inputUser"/>
    <s:url var="deleteUserUrl" action="getDeleteUsers"/>  
    <sj:tabbedpanel id="mytabs2">
      <sj:tab id="tab1" href="%{addUserUrl}" label="Add User"/>
      <sj:tab id="tab2" href="%{deleteUserUrl}" label="Delete User"/>
    </sj:tabbedpanel>
 </body>
</html>

```

Homepage gets loaded with the data returned from "addUserUrl" (inputUser.action), as expected.(addUser.jsp as configured below in struts.xml)

But when addUser.jsp is submitted , success-add.jsp or addUser.jsp are displayed as a separate pages and not within the same page , depending on sucess or validation error as configured in below struts.xml

Is there any way that both of these pages can be displayed within home page itself and not 
as a separate pages.

```
    <action name="inputUser" class="addUserAction" method="input">
        <result name="form">addUser.jsp</result>            
    </action>       

    <action name="addUser" class="addUserAction" method="addUser">
        <result name="success">success-add.jsp</result>
        <result name="input">addUser.jsp</result>
    </action>

```