Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Help urgent

 
Manish Khindri
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everbody,
I am new to struts. and the problem i am facing is that I have got one search screen from which when i click the link.I am submitting the form and setting the mode to update and setting the relevent criteria through hidden fields. Now my problem is that before loading the form i have to process some logic to fetch the information relevent to that criteria. Now i m checking the mode in my Action class and if it is 'update' mode then i am forwarding it to the action of my second Jsp's Action.
But i am getting the following exception
java.lang.IllegalArgumentException: No bean specified

i have stated the form-bean tag for both the Jsp.
Thanx in advance

Regards,
Manish
 
Rick Hightower
Author
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When are you getting this error?
Can you send a copy of your action mappings from your struts config file?
Are you getting this when the second form tries to load?
The html:form tag looks at the action mapping associate with it in tries to load the action form associated with the action mapping.
Thus the action mapping that the html: form submits to pass to have a correctly set up name action form.
Send action mappings in the form bean declarations of your struts config well, and I will take look
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic