• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Struts Help urgent

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 350
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic