On 19-08-2009 at 03:43, Gerardo Corro wrote: > > Thnaks for your email, however in Tomcat you can do this: > > server-side redirects on Tomcat: > > <Context crossContext="true"/> in META-INF/context.xml > > > then: > > ServletContext newContext = > getServletContext().getContext(fooContext); > RequestDispatcher requestDispatcher = > newContext.getRequestDispatcher(fooResource); > requestDispatcher.forward(req, res); > > > Is there a way to trick Stripes with something like the lines above?
Yes, by implementing a subclass of ForwardResolution that does exactly this. You'll want to override the method execute(HttpServletRequest, HttpServletResponse) to use three lines above. Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( A: Because people normally read from top to bottom. =/ () Q: Why is top-posting such a bad thing?
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users