Hi Kevin,
Just a wild guess, did u have a constructor in your Bean which requires one or
more parameters? If u have, u might wanna try adding a no-arg constructor.
Regards
Kevin Burton wrote:
> OK. I Downloaded the JSWDK and am running it under NT. Everything
> works great at first.
>
> I can use all the examples and even make my own JSPs. However I can't
> write my own bean and use it within my own .jsp.
>
> I can have a test.jsp that uses any of the existing beans but I can't
> even *instantiate* my own.
>
> Is it hard wired to only instantiate specificaly named beans?
>
> This is the error I get:
>
> -------------------------------
> Unhandled error! You might want to consider having an error page to
> report such errors more gracefully
> com.sun.jsp.JspException: Unknown exception:
> javax.servlet.ServletException: Cannot create bean of class
> lumeria.SProfile
> at
> D_0003a.SuperProfile_00020_00031_0005f_00030.JSP_00020Server.webpages
> .test_jsp_1._jspService(test_jsp_1.java:103)
> at
> com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java:106)
> at
> com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.j
> ava:80)
> at
> com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:180)
> at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:219)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> at
> com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:154)
> at com.sun.web.core.Context.handleRequest(Context.java:412)
> at com.sun.web.server.ConnectionHandler.run(Compiled Code)
> -------------------------------
>
> Thanks.
>
> Kevin
>
> ===========================================================================
> 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".
===========================================================================
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".