tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marten Lehmann <lehm...@cnm.de>
Subject getContextURI?
Date Tue, 26 Jul 2005 16:27:49 GMT
Hello,

how can I get the requestURI or pathTranslated without the 
context-prefix? Instead of

/newsletter/config/login.jsp

I would like to get returned just

/config/login.jsp

Additionally, while you can enter

//newsletter//config/login.jsp

in the address-field of the browser, it would be fine to just work with 
the "normalized" uri /newsletter/config/login.jsp. Is there any 
predfined function?

Regards
Marten

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message