This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
and in the same tomcat/conf/Catalina/localhost directory there is a ROOT.xml file which had
<Context docBase="acuscreen" path="">
I believe now, that the myContext.xml file is never used but only ROOT.xml file is used and because path="", no context path was ever used in the urls.
and all urls inside the application did not have the "context path" in them.
On my local development server, i installed tomcat and i have used myContext as my context root and it is in server.xml as
and because none of the urls in the application have "context path" in them, iam getting "The requested resource (/xxx.do) is not available."
I believe that if i add context path to that url it would work, but is there a way that i can direct requests from all urls via this default context path without actually appending the context path to those urls in the code.
If it helps,Struts 1.2 is used.
I could figure out now that if i changed the path="" in server.xml file on my local system, no context path would be needed and so no need to change the urls in the existing application.