The moose likes Struts and the fly likes bean support in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "bean support in Struts" Watch "bean support in Struts" New topic
Author

bean support in Struts

Anna Kononen
Greenhorn

Joined: Sep 28, 2004
Posts: 4
Does anyone know if Struts can support the following feature:
let's say i have one form with several fields,
i want 5 of those fields to be updated separately from 2 others, using 2 beans.
How would Struts go around this problem?
what type of bean support there in Struts?

i looked for info online, but did not find answer to the question.....
a good link will be appreciated
vicky kumar
Ranch Hand

Joined: Dec 13, 2002
Posts: 55
why don't you move those fields from the form to the beans themselves and just keep instances of the desired beans inside the form.

Let me know if that answers your query

Cheers
Vicky
 
 
subject: bean support in Struts
 
Threads others viewed
Struts Validator Framework:1 action class, 1 form, different fields validation
struts control - date, number, email
Call spring bean inside JSP/struts2 bean from a JSP
Using struts and complex forms
Best IDE for Struts
MyEclipse, The Clear Choice