Hello!
definitely! when servlet is running the tomcat install properly.You must
save your jsps file in webapps/yourfolder, and run it .
http://localhost:8080/yourfolder/jspfile.jsp
nadir-
----- Original Message -----
From: "kumar jaya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 9:34 AM
Subject: Re: Tomcat jsp problem
> hi,
> see that u have installed the tomcat very well...
>
> actually when installing see the u have that required
> folder in the webapps folder......... even i have the
> same problem when i was installing......
>
>
> so please check for that webapps...... folder
> jayakumar
>
>
>
>
> --- Gary Lyons <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I just installed tomcat3.2.1 on Solaris 8 on a SPARC
> > Ultra. The install
> > went well and after starting the stand alone server
> > I tried to run the
> > exaples included with the distribution from the
> > http://myhost:8080/examples/jsp/index.html page. The
> > servlet examples
> > ran well but the .jsp examples all return the error
> > below. I have poured
> > through my conf files and can't find anything
> > obvious. Any help
> > appreciated.
> >
> > Gary Lyons
> >
> > Error: 500
> >
> > Location: /examples/jsp/num/numguess.jsp
> >
> > Internal Servlet Error:
> >
> > javax.servlet.ServletException: sun/tools/javac/Main
> > at
> > java.lang.Throwable.fillInStackTrace(Native Method)
> > at
> > java.lang.Throwable.fillInStackTrace(Compiled Code)
> > at java.lang.Throwable.(Compiled Code)
> > at java.lang.Exception.(Compiled Code)
> > at
> >
> javax.servlet.ServletException.(ServletException.java:161)
> > at
> >
> org.apache.jasper.servlet.JspServlet.service(Compiled
> > Code)
> > at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> >
> > at
> > org.apache.tomcat.core.Handler.service(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.core.ServletWrapper.service(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.core.ContextManager.internalService(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.core.ContextManager.service(Compiled
> > Code)
> > at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
led
> > Code)
> > at
> >
> org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
> > Code)
> > at java.lang.Thread.run(Compiled Code)
> >
> > Root cause:
> >
> > java.lang.NoClassDefFoundError: sun/tools/javac/Main
> > at
> >
>
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
> >
> > at
> > org.apache.jasper.compiler.Compiler.compile(Compiled
> > Code)
> > at
> >
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> > at
> >
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> >
> > at
> >
> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)
> >
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
> >
> > at
> >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> >
> > at
> >
> org.apache.jasper.servlet.JspServlet.service(Compiled
> > Code)
> > at
> >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> >
> > at
> > org.apache.tomcat.core.Handler.service(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.core.ServletWrapper.service(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.core.ContextManager.internalService(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.core.ContextManager.service(Compiled
> > Code)
> > at
> >
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Compi
led
> > Code)
> > at
> >
> org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled
> > Code)
> > at
> >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
> > Code)
> > at java.lang.Thread.run(Compiled Code)
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
> >
> http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> >
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html