Re: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, ciAnd7 wrote: | Context ... path=/ / Perhaps you meant: Context path= - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread ciAnd7
Christopher Schultz-2 wrote: ciAnd7 wrote: | Context ... path=/ / Perhaps you meant: Context path= - -chris No. I mean ' path=/ '. I try empty string putting Context / in server.xml, and in app.war/META-INF/context.xml but without success: ROOT application from default host

Re: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread Hassan Schroeder
On Mon, Mar 3, 2008 at 11:49 AM, ciAnd7 [EMAIL PROTECTED] wrote: No. I mean ' path=/ '. Then that's the problem -- it's wrong. The path of the default webapp is the empty string . :-) -- Hassan Schroeder [EMAIL PROTECTED]

RE: Request.getContextPath() after RequestDispatcher.forward()

2008-03-03 Thread Caldarale, Charles R
On Mon, Mar 3, 2008 at 11:49 AM, ciAnd7 [EMAIL PROTECTED] wrote: No. I mean ' path=/ '. The real problem is refusal to do things the recommended way, which is to name your default webapp ROOT (case sensitive). If you'd simply done that, you wouldn't have to mess around trying to emulate