Maybe declaring:

public class MyBean
{
...
}

in "MyBean.java" would help. I think I've run into a similar
problem with jswdk 1.0.1 recently.

---Nam

heemeng wrote:

Hi all, Need help in a JSP problem I am having.I have a JSP page (mypage.js) that tries to instantiate a bean using the usebean tag : <jsp:useBean id="mybean" scope="session" class="MyBean" /> When I access the jsp page using an URL like http://localhost/myapp/mypage.jsp,Jrun 2.3.3 build 153 reports that it can't find the class "jsp/myapp/MyBean". I have alreadyensured that the classpath is set properly in jsm.properties. WhenI put MyBeaninto some package and modify the usebean as <jsp:useBean id="mybean" scope="session" class="mypackage.MyBean" />, then there's no such problem. Is this a Jrun bug or I am missing something? Regards

Reply via email to