I am just starting with struts and have written my
first action and form classes as a test.
My test jsp is getting an exception when running
that indicates that the struts form tag can't find my form bean. I've
included it successfully in the jsp with a page import directive, and the class
is in the proper classes sub-dir of my web application.
Why can't struts see the class?
A snippet of the exception:
javax.servlet.jsp.JspException: Exception creating
bean of class com.bpcs.struts.TestStrutsForm: java.lang.ClassNotFoundException:
com.bpcs.struts.TestStrutsForm
at org.apache.struts.taglib.FormTag.doStartTag(FormTag.java:506) at jsp._0002fjsp_0002fTestStruts_0002ejspTestStruts_jsp_2._jspService(_0002fjsp_0002fTestStruts_0002ejspTestStruts_jsp_2.java:97) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) Let me know if you need more info. As I'm
just starting with this I did not not exactly what to post!
TIA,
Bill Pfeiffer
|
- RE: StartForm can't find my form class Bill Pfeiffer
- RE: StartForm can't find my form class Nick Airey