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 Tomcat and the fly likes example jsp not running 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 » Products » Tomcat
Bookmark "example jsp not running" Watch "example jsp not running" New topic
Author

example jsp not running

Wong KK
Ranch Hand

Joined: Jan 15, 2001
Posts: 52
I have Catalina installed and can run the example servlet.
However all the example jsp are not running. There are no error messages in the log files.
The browser didn't complain but returned
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<BODY></BODY></HTML>
No matter what the jsp is. The return is the same as above.
I can see there are files like this. e.g. the jsp file is a.jsp. There is a$jsp.java and a$jsp.class in the work
directory.
What have I set wrong??
Thx. and Regards.
Steve.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: example jsp not running
 
Similar Threads
how to run jsp
Re: Navigation Restriction
Is body-content="JSP" useless now ?
same code for jsp and html, but display different character set
JSF Navigation