File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Setup and a JSP question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Setup and a JSP question" Watch "Tomcat Setup and a JSP question" New topic

Tomcat Setup and a JSP question

John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192

I have installed Tomcat 5.0.28 sucessfully. I am trying to runa simple JSP. code is below

I have put the jsp in C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\myjspexamples.

But when say http://localhost:8080/myjspexamples/hello.jsp, i get the following error

I guess it does not find the java compiler. But i have set JAVA_HOME to point to JDK.

Do i need to do anything on Tomcat Configuration (i.e In the Tomcat Configuration window, on the Java tab, do i need to specify JAVA_HOME in the Java classpath.

Please throw some light.

[ September 27, 2006: Message edited by: John Lincoln ]
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Whats the output of

from the command prompt

[My Blog] [JavaRanch Journal]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Also, how did you install Tomcat (.exe, .zip)?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Tomcat Setup and a JSP question
It's not a secret anymore!