Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

forward to another action

Mike Baroukh

2007-03-01

Replies:


I can't figure how to do this.
Can somebody help me ????

I wan't to forward an action to another with something like
requestDispatcher("/action.do?param1=value1").forward(req, res);

- I can't use redirect because I wan't to use the same request scope.
- I can't use chain because chain doesn't allow to add parameters.
- I can't use dispatcher because *.do is mapped to a filter and not a
servlet. The application server doesn't find servlet to forward to
(Result in file not found ...)
- I wan't to call again interceptor stack

So, please, how do you resolve this case ???
Why having deleted the ServletAction that was in WW ????


--

Mike Baroukh

---
Cardiweb - 31 Rue de Mogador Paris IXeme
06 63 57 27 22 - 01 53 21 82 63 - Jabber: mbaroukh@(protected)
http://www.cardiweb.com
---


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.