The context path settings seem to be OK because the page is getting
partially loaded ie the HTML portion..
But we get the compilation errors for the JSP code in the x.jsp file.
Even the class path settings seem to be OK.
Pls clarify.

Regards
 -----Original Message-----
From:   Justin Allen [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, October 05, 2000 8:57 AM
To:     [EMAIL PROTECTED]
Subject:        Re: JSP PROBLEM IN TOMCAT

have you added a context path in the Server.xml file in the tomcat\conf\
directory?

ex.
<Context path="/someproject" docBase="webapps/someproject" debug="0"
reloadable="true" >
   </Context>


Chandhan Rangarajan wrote:

> Dear Gurus
>
> I am trying to run JSP's on TOMCAT-WINNT combination.
>
> I have recently ported my JSP applications from linux (using
> apache/jserv/gnujsp ...where they worked) to windows.
>
> When I try to load a JSP page from my project, I get the following
> exceptions.
>
> ERROR 500:
>
> Internal Servlet Error
> org.apache.jasper.compiler.ParseException: C:\A\B\TEST.jsp(0,32) Attribute
> import has no value
>         at
>
org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:456)
>         at
>
org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:572)
>         at
> org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:192)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
>         at
org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
>         at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:149)
>         at
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:161)
>         at
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
>         at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
>         at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:160)
>         at
>
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
> )
>         at java.lang.Thread.run(Unknown Source)
>
> I am able to run standalone servlet and JSP apps from different
> directories..but no luck with my project!
> Pls advice as to whether I need to make  any changes to the configurations
> of my tomcat files...
> Your help will be greatly appreciated.
>
> Regards
> Chandhan/Shannon
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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".
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".
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

Reply via email to