| Author |
Beginner Tomcat JSP problem
|
marten kay
Ranch Hand
Joined: Feb 03, 2007
Posts: 168
|
|
not sure if this is right forum, I am beginner completing the Head First Servlets and JSP book. Stuck on page 89. using JDK 1.6, Tomcat 5.0, on XP environment variables are set as follows CLASSPATH= C:\Program Files\Java\jdk1.6.0\bin JAVA_HOME = C:\Program Files\Java\jdk1.6.0\bin TOMCAT_HOME = C:\Program Files\Apache Software Foundation\Tomcat 5.0 the servlet is compiled, and calls the following result.jsp when the result.jsp is called the result is  Anybody any ideas? Thanks
|
when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
|
Why is JAVA_HOME pointing to the bin folder?
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
|
Also, there is no need for your CLASSPATH environment variable to point to the JDK/bin directory.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
marten kay
Ranch Hand
Joined: Feb 03, 2007
Posts: 168
|
|
thanks guys I set my JAVA_HOME to C:\Program Files\Java\jdk1.6.0 and a lot of other things, including an article by Elliotte Rusty Harold on classpaths The joy of my first servlet JSP working I'm a newbie to OO, I have completed Head First Java, XHTML CSS, Ajax, OOAD, Design Patterns and read half of Larman. The hardest thing I have encountered so far is environment variables. Cheers  [ June 25, 2007: Message edited by: marten kay ]
|
 |
 |
|
|
subject: Beginner Tomcat JSP problem
|
|
|