I'm having a problem intializing a bean with page scope. I'm using JRun, so
it
may be JRun specific or something I'm doing wrong. The bean tag and the
error
generated are shown below. The Mssage class I'm trying to use has 2 accessor
methods: getMessage() and setMessage. The message is passed on the query
string as ?message=...
Grant
<USEBEAN NAME="error"
TYPE="org.scra.qcab.beans.Message"
LIFESPAN="page">
<SETFROMREQUEST BEANPROPERTY="*">
</USEBEAN>
---------------------------------------------
JRun Servlet Error
---------------------------------------------
javax.servlet.ServletException: Can't create the bean
org.scra.qcab.beans.Message: org/scra/qcab/beans/Message (wrong name:
Message)
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.(Throwable.java:94)
at java.lang.Exception.(Exception.java:42)
at javax.servlet.ServletException.(ServletException.java:68)
at com.livesoftware.jrun.plugins.jsp.JSP.getBean(JSP.java)
at jsp.qcab.importrfq.service(importrfq.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.livesoftware.jrun.plugins.jsp.JSPCore.runServlet(JSPCore.java)
at com.livesoftware.jrun.plugins.jsp.JSP.callPage(JSP.java)
at com.livesoftware.jrun.plugins.jsp.JSP.service(JSP.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.livesoftware.jrun.JRun.runServlet(JRun.java)
at
com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java)
at
com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java)
at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JR
unProxyServiceHandler.java)
at
com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.ja
va)
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".