Re: path info for servlets and JSPs

2002-06-24 Thread cbarnes
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 for servlets and JSPs

2002-06-21 Thread cbarnes
In web.xml I have added a servlet mapping so that the servlet can take extra path information as follows: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/myservlet/*/url-pattern /servlet-mapping Is it possible to do something similar with JSPs - and if so how and

Re: path info for servlets and JSPs

2002-06-21 Thread Brendan . Richards
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

Re: path info for servlets and JSPs

2002-06-21 Thread Milt Epstein
On Fri, 21 Jun 2002, cbarnes wrote: In web.xml I have added a servlet mapping so that the servlet can take extra path information as follows: servlet-mapping servlet-namemyservlet/servlet-name url-pattern/myservlet/*/url-pattern /servlet-mapping Is it possible to do