tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cbarnes" <>
Subject Re: path info for servlets and JSPs
Date Mon, 24 Jun 2002 09:36:57 GMT
> I don't know if you can do exactly what you want but an alternative could
> be to url-encode the path in the request as a variable
> for example: http://server/application/mypage.jsp?path
> =%2fextra%2fpath%2finfo
> (I think %2f = / but please check!)
> Brendan

I want to avoid url-encoding the path info and adding it to the query string
of the jsp because this is a URL that I would be expecting a user to enter,
and so I want it to be as simple as possible. Using path info seems to be
the easiest way for the user to enter the URL.

Thanks anyway,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message