Hi, I have added the declaration for the xmldoc varaible, but now I have
this error :
Error: 500
Location: /xmlsundar/XslViews.jsp
Internal Servlet Error:
javax.servlet.ServletException: sealing violation
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
at
_0002fXslViews_0002ejspXslViews_jsp_2._jspService(_0002fXslViews_0002ejspXslViews_jsp_2.java:94)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
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(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
thanks
>From: Richard Yee <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Eroor 500 ???
>Date: Tue, 28 Aug 2001 10:48:25 -0700
>
>Sufi,
>From reading the error message, it seems to me that you are not declaring
>the xmldoc
>variable anywhere in you JSP page.
>
>-Richard
>
>
>At 05:14 PM 8/28/01 +0000, you wrote:
>>Hi, I have a jsp file XslViews.jsp that begins with these lines :
>>
>><%@page
>>import="javax.xml.transform.stream.*,javax.xml.transform.dom.*,javax.xml.transform.*,
>>java.io.*" %>
>><% String view=request.getParameter("view"); org.w3c.dom.Document
>>doc=xmldoc.getXmldoc(); I am using tomcat and I have :
>>tomcat\webapps\xmlsundar\WEB-INF\classes\jspbeans\XMLDocBean.class But I
>>got this error : Error: 500 Location: /xmlsundar/XslViews.jsp Internal
>>Servlet Error: org.apache.jasper.JasperException: Unable to compile class
>>for
>>JSPC:\Program_Files\tomcat321\work\localhost_8080%2Fxmlsundar\_0002fXslViews_0002ejspXslViews_jsp_0.java:65:
>>Undefined variable or class name: xmldoc org.w3c.dom.Document
>>doc=xmldoc.getXmldoc(); ^ Please help. Thanks
>>_________________________________________________________________ Get your
>>FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>>===========================================================================
>> 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
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
===========================================================================
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