Hello,
I'm trying to deploy a web application that I developed using Netbeans (5.5/6)
Everything was working fine with the bundled
Tomcat. Netbeans has written a web.xml that works fine with netbeans and the bundled Tomcat. Unfortunately, when I tried to copy everything to my
Java Server there seems to be something different with the expected directory structure.
The system doesn't find my
servlets and my JSPs are found only when I change the URL. Example: Under the bundled Tomcat a
JSP uses this URL: Application/index.jsp
On the Tomcat on the server it requires this URL to be found: Application/web/index.jsp
The latter resembles the physical directory hierarchy, because the JSP ist actually under web. But when I try to put the JSP one step higher up on the production server, i.e. when I put it physically under Application/index.jsp the server doesn't find the file. What's wrong in the setup of my production server? Again: JSPs work after when I use a different URL with the /web/ directory in between, but servlets don't work and I don't even know whether the production server even finds my web.xml generated by netbeans.
Thanks a lot
Peter