Just create an action. The first time the action is called have it do:
return (mapping.findForward("display"));
In the jsp code, when you specify the form tag do:
<html:form action="/myAction?action=process">
It will then go back to the original form with a parameter added:
String action = request.getParameter("action");
If (action != null && action.equals("process")){
//Do Stuff
return (mapping.findForward("display"));
}
-- Nathan
-----Original Message-----
From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 10:55 AM
To: 'Struts Users Mailing List'
Subject: Action -> nothing
I was wondering if there's any chance to create an action that do some
processing and then return to the same page it was called.
Thanks, Julio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]