Hello Tomcat Users Grp and in particular, Pid and Konstantin Kolinko:

Thanks for your replies.
However, I evidently did not clearly state the problem I am having:
I can define the following context xml files in conf/Catalina/localhost:

   contextname.xml

and

   contextname#multi-level-contextname.xml

and these work as documented, i.e.:

   http://www.domain.com/contextname/servletname

and

   http://www.domain.com/contextname/multi-level-contextname/servletname

I can also create a context xml in conf/Catalina/localhost called

   ROOT.xml which defines the ROOT web app to be at www.domain.com.

This works fine at

   http://www.domain.com/servletname

for example.
But when I define a multi-level-context under ROOT with

   ROOT#multi-level-context.xml

a not-found is returned from

   http://www.domain.com/multi-level-contextname/servletname

I believe this is actually one of the (apparently) unsolved threads in
the Spring users group, and appears to an issue only with the advent
of the "#" hash sign instead of the "_" underscore sign formerly used
in earlier Tomcats (I am using 6.0.18).

Maurice Yarrow

Pid wrote:
On 04/11/2009 11:13, Maurice Yarrow wrote:
Hello Tomcat Users Group

I have no problem configuring a multi-level context originating
at the context uri level, e.g.:

http://www.domain.com/context/multi-level-sub-context/servletname

and I have no problem creating a web-app context at the ROOT level, e.g.:

http://www.domain.com/servletname

These above have been configured of course using context xml
files in conf/Catalina/localhost.

Problem:
Have not been able to find any correct context xml file configuration
(or naming) that will give a multi-level sub context starting at
the ROOT level, .e.g.:

http://www.domain.com/multi-level-sub-context/servletname

It's a separate context, just not a multi-level one.

 "multi-level-sub-context.war"


p

as well as the above

http://www.domain.com/servletname

So: question is:
Can this be done ?
How is it configured ?
What are the respective context xml files named ?

Thanks

Maurice Yarrow

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 9.0.698 / Virus Database: 270.14.49/2480 - Release Date: 11/03/09 23:37:00



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to