Tomcat loads but jsp's don't work
I'm brand new to all of this. I've installed jdk to my C drive, and after much trial and error, modified my autoexec.bat to set my environment variables for JAVA_HOME and CATALINA_HOME.
In Tomcat, Startup.bat works, and the localhost:8080 page loads correctly in my browser.
But when I click on the jsp examples, they don't work and report this in the "root cause" area of the error page:
...followed by a long list of errors.
Any ideas what's wrong?
Thanks in advance,
Sun has a tools.jar that they ship out with the sdk download of Java (perhaps the JRE download too, not sure.)
One of the classes in the jar is a Java class version of the command javac that allows you to compile source code from your own code.
I am assuming the JSP or TomCat is attempting to do this, but you do not have the tools.jar in your class path so it cannot find the class.
The tools.jar is usually located in the lib directory of your sdk installation. Hope this helps, haven't played with TomCats JSP's before so not absolutely sure if this will solve all your problems.
Laziness is a virtue.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL