• 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

save data in hypher link in struts

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

I have a sample.jsp,it contains a 2 hypher links,

2 hypher links contanis another jsps ,have some data.

I want to save all the data once in database.

How it is possible in struts.

Help me,

Thanks in advance.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Whenever you have mutliple JSPs contributing to data that you want to save to the database in one final press of the submit button (sometimes called a "wizard") one good approach is to have all the Actions used by any of the JSPs use the same session-scoped ActionForm. Then, when the user is finished entering data, you have it all collected in the same ActionForm class and can save it all at once.
reply
    Bookmark Topic Watch Topic
  • New Topic