Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Struts CRUD operation best practices...
posted 12 years ago
I am curious how you are doing this...
Say that I have a Person object, how would you configure your action classes to handle crud operations for a Person?
This is what I do::
NewPersonAction - Forwards to blank reusable person form, posts to CreatePersonAction
EditPersonAction - Forwards to prefilled reusable person form, posts to EditPersonAction
CreatePersonAction - Validates New Person Form and creates the person
UpdatePersonAction - Validates New Person Form and creates the person
Do you have a better/faster way to set this up?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Boost this thread!
Loosing changes in html:select
jsp:getProperty Bean Problem.
▒ Free and Super New ▒ IBM Test 000-484 (Enterprise Connectivity) ICE (56 questions)
How do I pass data between Struts forms?