Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-16 Thread Dirk Forchel
okay, I could strip off the context path from my "referer", but using a relative URL like "/welcome.action" or "/demostore/welcome.action" doesn't work either. Only something like "/jsp/pages/welcome.jsp" or similiar (a relative URL with a JSP resource) works for me. But I wanna use Tiles, so this

Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-15 Thread Nils-Helge Garli Hegvik
> > The getter-method for the referer property returns something like > "http://localhost:9001/welcome.action";, cos the search-form is included in > my welcome-page. I've got the feeling, that Tomcat's ApplicationDispatcher > makes some request string modifications in accordance to the servlet con

Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-15 Thread Dirk Forchel
Can somebody tell me, whether I can dispatch to a non-servlet resource, e.g. make a forward to a URI like "/foo.action" rather than to a JSP like "/jsp/foo.jsp". It's important to me to use the dispatcher result with "forward actions" like in Struts 1. newton.dave wrote: > > You may be able to

Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-15 Thread Dirk Forchel
Thank you for your help, but I already know how to implement dynamic results and how to use parameters in my results as well. And this is also not the point. I wanna make a "forward" rather than a "redirect" to the same page. But it doesn't work. I have a search-form on different pages. If validat

Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-14 Thread Dave Newton
You may be able to use the existing dynamic result configuration to implement this; see these two links: http://cwiki.apache.org/WW/result-configuration.html http://cwiki.apache.org/WW/parameters-in-configuration-results.html Dave --- On Sun, 12/14/08, Dirk Forchel wrote: 7:59 AM > Has somebody

Re: [S2] ServletDispatcherResult (dispatcher) and forwarding to Actions

2008-12-14 Thread Dirk Forchel
Has somebody any idea regarding the problem mentioned below. Every hint is appreciated. Dirk Forchel wrote: > > I need your help. I wanna use the DispatcherResult (dispatcher) not as a > forward to a JSP (jsp/pages/test.jsp), but rather to forwarding to another > action request e.g. /test.actio