I fixed one problem. I placed the non-EJB classes into a jar in the
WEB-INF/lib directory, and the import problem went away. However the
EJB-Home/EJB remote classes still have to remain in the ejb jar, so i did
not place them there. I got the following error.

Is this a bug? I seem to have the same issue with jboss/jetty. jsps compiler
should really get the common classpath, no?

[Jetty] Servlet Exception for
/contact/Contact.jsp?subtype=firstName&value=eugene
org.apache.jasper.JasperException: JASPER: Unable to compile class for
JSP/tmp/JettyContext10309.tmp/_0002fContact_0002ejspContact_jsp_0.java:69:
Class com.neomeo.contact.ejb.ContactsSource not found.
                com.neomeo.contact.ejb.ContactsSource cSrc = null;
                                      ^
/tmp/JettyContext10309.tmp/_0002fContact_0002ejspContact_jsp_0.java:72:
Class com.neomeo.contact.ejb.ContactsSource not found.
                    cSrc= (com.neomeo.contact.ejb.ContactsSource)
                                                 ^
2 errors




>
> From: "Scott M Stark" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] Imports on jsp with tomcat on jboss.
> Date: Mon, 7 May 2001 10:20:54 -0700
> Reply-To: [EMAIL PROTECTED]
>
> The jsp compiler only sees the classes in the WEB-INF/classes directory.
> This is a limitation of the jasper integration into tomcat.
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to