Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Markus Schönhaber
André Warnier: I have tried to download and find this in the Servlet 2.5 Specification, but I seem to get a series of html pages describing the API, without telling me much about the general principles. Yep, for some reason unknown to me it's unnecessarily difficult to find the PDF with the

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Markus Schönhaber wrote: André Warnier: I have tried to download and find this in the Servlet 2.5 Specification, but I seem to get a series of html pages describing the API, without telling me much about the general principles. Yep, for some reason unknown to me it's unnecessarily difficult

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Markus Schönhaber
André Warnier: It appears anyway that my previous attempted logic was quite wrong. But I still find the spec quite confusing. There is some kind of mixture between servlet and web application that is not very clear, at least to me. As I understand it now, there are 2 steps : 1) the

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets Even when you get there though, it is still difficult to download this thing. The proposed filename is not a valid path and must be changed.. What browser and platform are you using? (I'm asking

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Tomcat mapping of URLs - servlets Note that the servlet-2_5-mrel2-spec.pdf button cannot be right-clicked and processed with Save As I was mistaken; you can do a right-click and Save As, without any problems. Were you on the correct page when you

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Markus Schönhaber wrote: André Warnier: It appears anyway that my previous attempted logic was quite wrong. But I still find the spec quite confusing. There is some kind of mixture between servlet and web application that is not very clear, at least to me. As I understand it now, there

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Mark Thomas
André Warnier wrote: Then I guess I have (at least) 2 webapps : a /foo webapp, and a /foo/bar webapp. Now a request comes in with the url /foo/bar/baz/various.jsp How does Tomcat determine that /foo/bar/baz is not itself a webapp, but merely a sub-dir of webapp /foo/bar ? The longest

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Tomcat mapping of URLs - servlets Note that the servlet-2_5-mrel2-spec.pdf button cannot be right-clicked and processed with Save As I was mistaken; you can do a right-click and Save As, without any problems. Were you

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: [...] Forgot to add : mine is an Official Firefox, running on an Official Windows XP. ;-) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Then I guess I have (at least) 2 webapps : a /foo webapp, and a /foo/bar webapp. Now a request comes in with the url /foo/bar/baz/various.jsp How does Tomcat determine that /foo/bar/baz is not itself a webapp, but merely a sub-dir of webapp /foo/bar ?

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Mark Thomas
André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Then I guess I have (at least) 2 webapps : a /foo webapp, and a /foo/bar webapp. Now a request comes in with the url /foo/bar/baz/various.jsp How does Tomcat determine that /foo/bar/baz is not itself a webapp, but merely a

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets I was using Firefox 2.0.0.15, on a Windows XP station. Hmmm... I haven't used Firefox 2 in a very long time - not since Firefox 3 was in beta. http___cds-esd.sun.com_ESD34_JSCDL_servlet_2.5

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Then I guess I have (at least) 2 webapps : a /foo webapp, and a /foo/bar webapp. Now a request comes in with the url /foo/bar/baz/various.jsp How does Tomcat determine that /foo/bar/baz is not itself a webapp,

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets At deployment time thus (in my hypothetical case above when Tomcat starts and finds a such webapps top dir), does it recursively go through the webapp dirs and subdirs, to determine what is a webapp

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets At deployment time thus (in my hypothetical case above when Tomcat starts and finds a such webapps top dir), does it recursively go through the webapp dirs and subdirs

Re: Tomcat mapping of URLs - servlets

2008-12-03 Thread Mark Thomas
André Warnier wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets At deployment time thus (in my hypothetical case above when Tomcat starts and finds a such webapps top dir), does it recursively go through

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets Except if there was, for /foo/bar, an appropriate Context element, inside a foo#bar.xml file, itself located under (tomcat_base)/conf/Catalina/(hostname)/ Or an [appBase]/foo#bar directory