Hi,
The configuration I am running under is (JRUN pro 2.3.3) + (Apache 1.3.11)
on Windows NT.
I have a jsp file (called junk2.jsp) which calls a bean as follows:
<jsp:useBean id="test" class="SimpleBean" />
<jsp:setProperty name="test"
property="message"
value="Hello World" />
When I run this using: http://localhost/junk2.jsp, I get the following
error:
500 Internal Server Error
com.livesoftware.jsp.JSPServlet:
javax.servlet.ServletException:
Found 1 semantic error compiling
"C:/JRun/jsm-default/services/jse/servlets/jsp/junk2.java":
36. SimpleBean test = (SimpleBean) JSPRuntime.instantiateBean("test",
"SimpleBean", "page", <--------> __test_was_created,
pageContext,
request, session, application);
*** Error: Type jsp/SimpleBean was not found
---------------------------------
What am I doing wrong? I put the SimpleBean.class file in the same directory
where junk2.java (servlet corresponding to junk2.jsp) was created.
I also tried putting the SimpleBean.class file by creating another directory
called jsp
under: C:/JRun/jsm-default/services/jse/servlets/jsp directory.
In both cases I get similar errors...
Any suggestions ??? Please help !!!
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html