tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ciAnd7 <cind...@gmail.com>
Subject Re: Request.getContextPath() after RequestDispatcher.forward()
Date Mon, 03 Mar 2008 19:49:16 GMT



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 directory executed for '/' path on every virtual host. I found
solution with 'path="/" ' and it seems to works except forward() ....
gerContextPath().
-- 
View this message in context: http://www.nabble.com/Request.getContextPath%28%29-after-RequestDispatcher.forward%28%29-tp15808317p15812168.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message