This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Having trouble setting up JSP engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Having trouble setting up JSP engine" Watch "Having trouble setting up JSP engine" New topic
Author

Having trouble setting up JSP engine

Frank Albright
Greenhorn

Joined: Feb 19, 2000
Posts: 23
I am trying to display JSP's on my local machine. Here is what I have done:
1. Downloaded and installed the JSWDK in directory C:\JSWDK
2. Added the following to my classpath
C:\jdk1.3\lib\tools.jar;
C:\JSWDK\jswdk-1.0.1\lib\jspengine.jar;
C:\JSWDK\jswdk-1.0.1\lib\servlet.jar
3. I put a JSP named Hello.jsp in the \examples\jsp directory
4. I start the server using the startserver.bat file
5. Open IE
6. Type in http://localhost:8080/examples/jsp/Hello.jsp
I get a 404 Error: Page not found
I have tried to display some of the JSP's that come with the examples, but no luck.
Can anyone help?
Thanks,
Frank
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
I don't know what the specific problem with your example is, but the general answer is usually that JSWDK is now obsolete and unsupported, and you would probably be much better off spending your time getting used to a modern Servlet/JSP container such as the reference implementation Tomcat from http://jakarta.apache.org/ or my personal favourite Resin from http://www.caucho.com/ .


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
jQuery in Action, 2nd edition
 
subject: Having trouble setting up JSP engine
 
Similar Threads
Problem With Installing Tomcat 4.1 17 In The Windows 98
Can not find server or DNS error
How to run a Servlet using java web server
Reading local file
compiling and running jsp prog