Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts/JSP errors

Status
Not open for further replies.

AA2K5

Programmer
Apr 24, 2002
31
0
0
GB
Hi,

I've recently started using Struts and JSP and I'm having a problem. In my JSP page I get the following error:

'Cannot compile against source model DetailForm issued from DetailForm.java'

I'm using Eclipse 3.0 and Lomboz for development. With Apache Struts 1.1.

DetailForm.java is an ActionForm class that represents a simple HTML/JSP form with employee details on it. This is included into the JSP page using the jsp:useBean tag.

I've got the gets and sets in DetailForm.java so I don't understand what is going wrong.

Any help would really be appreciated. Even if it's just a guess as to where this problem is originating from.
If you want me to post my code just let me know.

Thanks in advance
 
I think you call ActionForm by <html:form action="registration-submit">
I think ActionForm is not called by useBean
This is a statement in registration.jsp in struts-examples.war in jakarta-struts-1.2.4
You should try struts 1.2.4 because some methods are depricated in struts 1.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top