The 500 error code means that the server encountered an unexpected condition
when it attempted to fulfill your request.
Looks like you don't have the JDK's lib/tools.jar in your CLASSPATH. You're
not picking up the javac compiler. You're also using an old version of
Tomcat. I would use Tomcat 4.0 to get the latest implementation of the JSP
and servlets spec as well as numerous bug fixes.
Justy
----- Original Message -----
From: "[Dan Caylor]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 3:40 PM
Subject: Problem Deploying First JSP
> Hey guys,
>
> I'm new here. Been reading Core Servlets and JSP by Marty Hall. It's a
great book :)
>
> I just got to the second part where you start learning about JSP, so I
know a lot about Servlets now.
>
> >From what I understand, jsp files are not restricted to a certain
directory, they don't need to be packaged, and they don't need to be
compiled.
>
> I've come off of servlets compiling my files from
localhost//servlet/coreservlets.[servlet]
>
> I've tried running my first JSP file and I get this error:
>
> Error: 500
> Location: /expressions.jsp
> sun/tools/javac/Main
>
> Since this is a 500 status code, and the error has to do with the Main
method, I thought the CLASSPATH wasn't set properly, but it is.
>
> c:\jakarta-tomcat\lib\jasper.jar
>
> This is really a trivial problem, but I can't get started on JSP, so if
anyone can help, I'd appreciate it.
>
> I'm using Tomcat 3.1 on Windows 2000.
>
> Dan Caylor
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets