  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | Classpath for JSPC | Classpath for JSPC 2003-10-07 - By Martin Gainty
Back 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 (this .getClass().getClassLoader(), "SendMailBean"); ^ 3 errors
at org.apache.jasper.compiler.DefaultErrorHandler  (DefaultErrorHandler.java:130)
Thanks,
Marty Gainty
==========================================================================To unsubscribe: mailto listserv@(protected) with body: "signoff JSP-INTEREST". For digest: mailto listserv@(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
|
|
 |