Hi, You would have to do many workarounds and remappings and have robust servlets that handle all sorts of redirection. It would suck.
You could probably save a lot of time and effort, and end up with a maintainable and portable product, if you redesign your app to either be one webapp or two completely separate ones, not one contained within another. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jan-Michael Ong [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, February 04, 2003 1:34 PM >To: Tomcat Users List >Subject: Re: can I define a subcontext within a global context? > >Hi there, > >This sounds like a dumb question (probably is) but can I define a >subcontext within another global context? > >In other words if I define a web application context to be > >/myapplication > >and I want another mini-web application (separate from /myapplication but >within it) > >i.e. > >/myapplication/miniapplication > >Is this possible? > >In other words, can I set up > >/myapplication/WEB-INF/...etc > >and > >/myapplication/miniapplication/WEB-INF/... > >and have them be distinct? > >How would this look like in apache's httpd.conf and tomcat's server.xml? > >I think the answer is "no" because the parent context (/myapplication in >this case) will take precedence over the miniapplication context... but >then again I could be wrong. > >Thanks in advance. > >Jan-Michael > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]