Hi Julio,
There are 2 ways I'm aware of:
1.) In your struts-config.xml action-mappings, add a "success" mapping that
points to your mapping path; i.e.:
Then, in your action class, return mapping.findForward("Success");
and you're done. (Note the ".do" required in the forward; thanks
o [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 12:48 PM
> To: 'Struts Users Mailing List'
> Subject: RE: is this posible? return to the same page after being
> executed
>
>
> The issue is that there's multiples ways to call the action
> that I w
that clear?
Thanks again.
-Mensaje original-
De: Geeta Ramani [mailto:[EMAIL PROTECTED]
Enviado el: MiƩrcoles, 05 de Mayo de 2004 12:49 p.m.
Para: Struts Users Mailing List
Asunto: RE: is this posible? return to the same page after being
executed
oh, ok!
This exact question I think was
M
> To: 'Struts Users Mailing List'
> Subject: RE: is this posible? return to the same page after being
> executed
>
>
> Yeah... :) what I was trying to ask is what the best way to get in the
> action the path to the page that originally called the action.
>
&g
Mailing List
Asunto: RE: is this posible? return to the same page after being
executed
Yes, this will work: try it! :)
Geeta
> -Original Message-
> From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 11:06 AM
> To: 'Struts Users Mailing List
Julio,
This isn't a problem at all. I do this now with a page that builds
itself out top-to-bottom as the user makes more selections and 'submits'
them, then the page reloads with another section showing asking for more
user input. I guess its kinda like a 1-page wizard.
Julio Cesar De Salvo wr
forward takes the current request and response objects and sends them to
another resource which then handles the request as it sees fit.
Redirect sends a response back to the client that causes the clients browser
to send a new request to the new provided URL.
response courtesy of JavaRanch articl
Yes, this will work: try it! :)
Geeta
> -Original Message-
> From: Julio Cesar De Salvo [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 05, 2004 11:06 AM
> To: 'Struts Users Mailing List'
> Subject: is this posible? return to the same page after being executed
>
>
> Is there some way t
8 matches
Mail list logo