Scott,
This is NOT a duplicate of the post which i have posted earlier. My question is if i have specified a web-context with multiple names seperated by / how to access the application with the web-context name. I am adding extra information on what I have did and how to access the application. Here it goes.
I have a J2EE web project named med1 with web-context specified as /med/app. While deploying this application to Tomcat when I select the server as Tomcat4, I could see the deploy location as INVALID. Hence I choose externally launched and specify the deployment location as h:/tomcat_4/webapps/medmed1. It does get deployed successfully to the server.
Now when I try to launch my application with the web-context as http://localhost:8887/med/app/myjsp.jsp I could only see a 404 status returned by Tomcat. While if I access the application with http://localhost:8887/medmed1/myjsp.jsp it works fine (Kindly note medmed1 is the folder I have chosen while deploying to tomcat).
Now when I change my web-context to a single word as medapplication and after deploying, I am able to access the application with http://localhost:8887/medapplication/med.jsp
My query is, why is that if the web-context has more than one word separated with /, I’m not able to access the application with web-context name specified for the J2EE project, rather the application is accessible only through the folder name I had specified while deploying. If I wanted to access the application with the web context name what I should do?
@support-scott wrote:
This is a duplicate of: https://www.genuitec.com/forums/topic/j2ee-deployment-location-shows-invalid-why-closed/#post-232877