aspose file tools*
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
Author

Tomcat Setup and a JSP question

John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Hi,

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.

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

Joined: Jul 20, 2005
Posts: 10263
    
168

Whats the output of



from the command prompt


[My Blog] [JavaRanch Journal]
Ben Souther
Sheriff

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
 
 
subject: Tomcat Setup and a JSP question