File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Is body-content="JSP" useless now ?
JSF Navigation
same code for jsp and html, but display different character set
Re: Navigation Restriction
how to run jsp