Steve Hillman wrote:

> Can anyone tell me how to make a bean available in pages within a 
> subdirectory of ROOT:
> For example, I can access the bean myBean (installed in 
> WEB-INF\classes) from a page within
> the ROOT directory but if I try to access the same bean from a page 
> within ROOT/subdirectory
> I get this error:
>
> org.apache.jasper.JasperException: Unable to compile
> C:\jakarta-tomcat-3.3a\work\DEFAULT\ROOT\subdirectory\myjsppage_1.java:234: 
>
> Class subdirectory.myBean not found. myBean.class);
>
>
> -- 
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>

Hi, there i had similar problem , thus within your jsp page use the page 
import directive ie <%@ page import="myBean"%>
as this declare's that your myBean is in the "default" package. Hey 
search for the Subjec: Class jsppages.MoniBean not found.
A top bloke named Larry Isaacs took the time to reply with a 
explaination that was digestible and a good point to remeber.

Chuck Amadi
Systems Programmer
Rhaglennydd Systemau





--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to