This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Has anyone experienced any problems setting up a new web application (using a different directory) under the JSWDK environment? I was able to get my application (html and servlet) to run under the examples directory but not under a different directory. I made all of the necessary modifications as specified in the FAQ.html file (ex: added new directory structure and modified webserver.xml, and servlets.properties files). I can get my html file to display but receive a 404 error with no detailed message when trying to run my servlet.
i had exactly the same problem ... gave up in the end! Anyone have the answer??
Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
Joe Paolangeli
Ranch Hand
Joined: Apr 05, 2000
Posts: 73
posted
0
I installed my application on a different machine and it worked (I am sure this not the answer you were expecting). This was kind of strange because I used the same exact settings.
add <context name="your application name" path=/.." /> in the server.xml file. It is better to use tomcat3.1 reference implementation. It follows J2EE specification.