my dog learned polymorphism
The moose likes Struts and the fly likes Struts project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts project" Watch "Struts project" New topic

Struts project

Ingoba Ningthoujam
Ranch Hand

Joined: Dec 04, 2006
Posts: 90
what may be the possible reason for error FORM BEAN CANNOT BE CREATED?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Here are some possible reasons:

1- A simple spelling error. Are you 100% sure that the type you specified in the <form-bean> tag exists and is spelled correctly including the package name?

2-Failure to compile the class. Maybe the .java file exists, but does the .class file? Is it in WEB-INF/classes?

3-No public constructor. Have you overriden or made non-public the default no-arguments constructor for the bean?

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts project
It's not a secret anymore!