dcsimg
Regarding tomcat context path priority
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   prachi_jain
Posted On:   Wednesday, December 7, 2005 10:18 AM

Hello Experts, I was trying to find a "documented" solution for one of my problems with tomcat contexts. It would be great favour for me to get your feedback on my query. I would like to ask about the tomcat servlet container(5.x) and it's prioritised handling of the context paths in the following situation. A pointer to official documentation will be of much help to me. If you consider the following structure for my application(web) source: myapps myapps--conf myapps--JSP myapps--WEB-INF myapps--WEB-INF/classes .... The conf directory in my application holds css and images. Suppose, i deployed one of my context in tomcat as    More>>

Hello Experts,

I was trying to find a "documented" solution for one of my problems with tomcat contexts.


It would be great favour for me to get your feedback on my query. I would like to ask about the tomcat servlet container(5.x) and it's prioritised handling of the context paths in the following situation. A pointer to official documentation will be of much help to me.

If you consider the following structure for my application(web) source:

myapps
myapps--conf
myapps--JSP
myapps--WEB-INF
myapps--WEB-INF/classes
....

The conf directory in my application holds css and images.

Suppose, i deployed one of my context in tomcat as





The situation is there are many contexts deployed in the tomcat using the same source (myapps). But,
if i want to make some of the contexts to have it's own conf directory and using the docbase
as normal for sources. I am planning to do it the following way:

if i deploy one more context say /myapps/conf






P.S: i have used a "/" to add conf path to the new context.


FINAL DOUBT


Is it ensured by the tomcat container that any request that comes for "/myapps/conf" will be directed
to the new context deployed and not within the sources. I have tested it and it seems to work
as fine. But i need official documentation (for my superiors not to say that i assume!!) which shows
the priority in which tomcat considers the request processing.

I hope i m able to convey my query.

thanks and regards,
prachs

   <<Less

Re: Regarding tomcat context path priority

Posted By:   prachi_jain  
Posted On:   Thursday, December 8, 2005 03:54 AM

any expert comments please!!

regards
prachi
About | Sitemap | Contact