This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes save data in hypher link in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "save data in hypher link in struts" Watch "save data in hypher link in struts" New topic
Author

save data in hypher link in struts

kalyan chowdary
Greenhorn

Joined: Jun 22, 2006
Posts: 24
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.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
Have you checked out Aspose?
 
subject: save data in hypher link in struts
 
It's not a secret anymore!