I'm still wondering why you'd want to do ROOT#multilevelcontext.xml when it's functionally the same as multilevelcontext.xml. What use case do you have for such a thing?
--David Maurice Yarrow wrote: > 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