I want to pass the parameter to the same action after submit .how can i,...
I tried this but it s not working ...
<s:submit value="Add Contact" align="center" action="add?firstName=<s:property value="website"/> "/>
Also I m tried to pass the parameter through struts.xml like ,
<action name="index">
<result name="success">
<param name="nm">${userName}</param> -->
</result>
</action>
this code passes the parameter action class is also called but wher i can give the
jsp path to that action