my dog learned polymorphism*
The moose likes Servlets and the fly likes JSWDK 1.0.1 -  Setting up new Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSWDK 1.0.1 -  Setting up new Application" Watch "JSWDK 1.0.1 -  Setting up new Application" New topic
Author

JSWDK 1.0.1 - Setting up new Application

Joe Paolangeli
Ranch Hand

Joined: Apr 05, 2000
Posts: 73
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.
Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
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
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.
varalakshmi allamaraju
Greenhorn

Joined: May 26, 2000
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSWDK 1.0.1 - Setting up new Application
 
Similar Threads
Basic Servlet Problem
running servlet
Servlet reloading in Tomcat 3.2.4
servlet ......a simple problem
Configuring packages and class paths