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.*" %>
<html>
<head>
<title>XSL Transformations</title>
</head>
<body>
<jsp:usebean id="xmldoc" class="jspbeans.XMLDocBean" scope="application"/>
<%
  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

Reply via email to