Hello Everyone:

When I have a new bean which I reference should I update
1)the main classpath?
2)the web.xml JSPServlet init-parm classpath?

*I currently get this error*

location: class org.apache.jsp.SendMail_jsp
      SendMailBean sendMail = null;
      ^



An error occurred at line: 43 in the jsp file: /SendMail.jsp

Generated servlet error:
F:\Tomcat\work\Standalone\localhost\_\SendMail_jsp.java:54: cannot resolve symbol
symbol  : class SendMailBean 
location: class org.apache.jsp.SendMail_jsp
        sendMail = (SendMailBean) pageContext.getAttribute("sendMail", 
PageContext.PAGE_SCOPE);
                    ^



An error occurred at line: 43 in the jsp file: /SendMail.jsp

Generated servlet error:
F:\Tomcat\work\Standalone\localhost\_\SendMail_jsp.java:57: cannot resolve symbol
symbol  : class SendMailBean 
location: class org.apache.jsp.SendMail_jsp
            sendMail = (SendMailBean) 
java.beans.Beans.instantiate(this.getClass().getClassLoader(), "SendMailBean");
                        ^
3 errors


        at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)


Thanks,

Marty Gainty

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to