SSI JSP

2002-11-18 Thread Derek Mc Connon

Hi,
I am new to JSP and Tomcat Setup

I need to setup Tomcat to allow jsp include server-side-include pages.

Does anyone have and examples or any good documentation on configuring and
using SSI with JSP.


Thanks in advance

Derek


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




JAVA_HOME trouble

2001-04-09 Thread Derek Mc Connon

Hello
 
I am running Tomcat 3.1 under Apache
and I am having trouble running JSP pages.  I get a
500 error (Internal Servlet
error) when trying to load them
I have tried setting up JAVA_HOME variable but 
this does not seem to work

Could anyone tell me what files it needs to be changed in (.bat and .sh)
the path to my JAVA_HOME dir is '/usr/jdk1.2.2/'

If anyone has an example of what they done or how to set it up correctly
i would be grateful for there assistance


Thanks in advance,
Derek


  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, email: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 




Running Servlets from any directory

2001-01-15 Thread Derek Mc Connon

I want to set up tomcat to run from any directory, not just from the
examples path.
I wonder would anyone be able to help me with this

thanks

Derek


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: .jsp error after install

2001-01-03 Thread Derek Mc Connon

where abouts do you set up the Java Home variable


- Original Message -
From: Randy Layman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 03, 2001 6:27 AM
Subject: RE: .jsp error after install



 You didn't set JAVA_HOME to include the jdk.

 Randy

 -Original Message-
 From: Gary Lyons [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 03, 2001 9:07 AM
 To: [EMAIL PROTECTED]
 Subject: .jsp error after install


 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, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]