Re: getContextPath

2006-10-31 Thread David Smith
(and their appear the ContextPath: /test ) is this the normal way of tomcat working? if so all is ok thanks for all - Original Message - From: "mast" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 11:04 PM Subject: Re: getContextPath

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > /usr/local/tomcat5/webapps/users1/ROOT/test/test.jsp > /usr/local/tomcat5/webapps/users1/test/test.jsp > > tomcat use the second one (and their appear the ContextPath: /test ) > is this the norm

Re: getContextPath

2006-10-31 Thread mast
: /test ) is this the normal way of tomcat working? if so all is ok thanks for all - Original Message - From: "mast" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 11:04 PM Subject: Re: getContextPath Hmm well it seem i have made a

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > but i had a WEB-INF and META-INF in the same directory as the > ROOT too and they seem to have been taken instead of the one > in the ROOT one (is it normal?) Not sure what you mean by "normal"

Re: getContextPath

2006-10-31 Thread mast
e make you loose time. - Original Message - From: "mast" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 10:51 PM Subject: Re: getContextPath >From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat U

Re: getContextPath

2006-10-31 Thread mast
From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 2006 10:37 PM Subject: RE: getContextPath Do you have a test.xml lurking around in conf/[engine]/[host] in one of them? Would that test.xml have a element with a doc

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > in the 5.5.17 version my app is under the ROOT directory yes > (that s the correct way like we told before no ?) Depends on what you mean by "under". If your app IS the ROOT directory, then getCo

Re: getContextPath

2006-10-31 Thread mast
List" Sent: Tuesday, October 31, 2006 9:14 PM Subject: RE: getContextPath From: mast [mailto:[EMAIL PROTECTED] Subject: Re: getContextPath i use a simple jsp file with : ContextPath: <%= request.getContextPath() %> ServletPath: <%= request.getServletPath() %> with a 5.5.9 serve

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > i use a simple jsp file with : > ContextPath: <%= request.getContextPath() %> > ServletPath: <%= request.getServletPath() %> > > with a 5.5.9 server > ContextPath: /test > Servl

Re: getContextPath

2006-10-31 Thread mast
i use a simple jsp file with : ContextPath: <%= request.getContextPath() %> ServletPath: <%= request.getServletPath() %> - Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, October 31, 20

RE: getContextPath

2006-10-31 Thread Caldarale, Charles R
> From: mast [mailto:[EMAIL PROTECTED] > Subject: Re: getContextPath > > with a 5.5.9 server > ContextPath: /test > ServletPath: /test.jsp > > with a 5.517 server > ContextPath: > ServletPath: /test/test.jsp What APIs are you using to determine ContextPath and

Re: getContextPath

2006-10-31 Thread mast
/test.jsp QueryString: null - Original Message - From: "mast" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, October 30, 2006 12:31 AM Subject: Re: getContextPath > There was a change at some point that resulted in any directory under the webapps d

Re: getContextPath

2006-10-29 Thread Mark Thomas
mast wrote: > Hmm i understand but this configuration was invalid in 5.5.9 too so they > did some change no ? This configuration has always been invalid but if you use it then you will see different behaviour as a side-effect of adding the deploy any directory in appBase feature which is new. Mar

Re: getContextPath

2006-10-29 Thread mast
There was a change at some point that resulted in any directory under the webapps directory being deployed as an application. You would see this behaviour if you had configured a host appBase to be the same as a context docBase - a configuration that is invalid. Mark ---

Re: getContextPath

2006-10-29 Thread Mark Thomas
mast wrote: > with two server.xml identical with a test.jsp on a directory test on 5.5.9 > TranslatedPath: null > ContextPath: ServletPath: /test/test.jsp > PathInfo: null > RequestURI: /test/test.jsp > QueryString: null > > on 5.5.20 > > ContextPath: /test > ServletPath: /test.jsp > PathInfo: nu

Re: getContextPath

2006-10-29 Thread mast
Examples please. I suspect it is as a result of the configuration changes you have been making. Mark with two server.xml identical with a test.jsp on a directory test on 5.5.9 TranslatedPath: null ContextPath: ServletPath: /test/test.jsp PathInfo: null RequestURI: /test/test.jsp QueryStrin

Re: getContextPath

2006-10-29 Thread Mark Thomas
mast wrote: > i return with my first problem :=20 > in a tomcat 5.5.9 when i use the request.getServletPath() and=20 > request.getContextPath() > i get different answer than a tomcat 5.5.19 (or 20), has this function=20 > change in the new tomcat? Examples please. I suspect it is as a result of t