Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread David Evans
req.getRequestDispatcher("path/To/servlet") On Wed, 2003-12-10 at 10:46, Marten Lehmann wrote: > Hello, > > > What about using one centralized servlet that parses > > req.getPathInfo(), sets the language as request attribute > > and forwards to the real servlet(s) ? > > how is a request-forwar

RE: servlet-mapping like mod_rewrite?

2003-12-10 Thread Ralph Einfeldt
Sorry not much time, try searching for request dispatcher and forward > -Original Message- > From: Marten Lehmann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 4:46 PM > To: Tomcat Users List > Subject: Re: servlet-mapping like mod_rewrite? > >

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread Marten Lehmann
Hello, Have a session variable that tracks what language they're using. I'm not looking for a different solution, but one, that solves my question. I definitely cannot do anything else than the /de/ or /en/ thing. Regards Marten ---

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread Marten Lehmann
Hello, What about using one centralized servlet that parses req.getPathInfo(), sets the language as request attribute and forwards to the real servlet(s) ? how is a request-forwarding done? Regards Marten - To unsubscribe, e-mail

RE: servlet-mapping like mod_rewrite?

2003-12-10 Thread Ralph Einfeldt
What about using one centralized servlet that parses req.getPathInfo(), sets the language as request attribute and forwards to the real servlet(s) ? > -Original Message- > From: Marten Lehmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 09, 2003 11:26 PM > To: [EMAIL PROTECTED] >

RE: servlet-mapping like mod_rewrite?

2003-12-09 Thread Hart, Justin
Have a session variable that tracks what language they're using. Justin >>> to offer language-depended websites I want to make a webapp available through /de/* (german) and /en/* (english). Of course, I don't want to use two servlet-repositories for that. My idea is, that no matter if e.g. /en