• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Action form for more number of Dynamic JSP file

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using struts 1.1 in my project . I have used 5 dynamic jsp files in my module and i want to set the inputs using Action form class and call struts framework for these 5 dynamic jsp file .How to set the inputs in the Action form class for 5 dynamic jsp files. is it need to create 5 action form class .Kindly explain me.


Thanks
Lakshman



 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts 1.1? Any reason you are not using the latest version of Struts, 1.3.10? My personal advice is to use Struts 2, as it addresses several shortcomings in the Struts 1.x series (for example, Struts 2 does not have action forms!).
As for action forms, if your JSP's have the same data, it would make sense to use the same action form for each. If they have different data, you can either make different action forms for each JSP or use DynaActionForm.
 
Ever since I found this suit I've felt strange new needs. And a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic