This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Data Transfer Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Data Transfer Object" Watch "Data Transfer Object" New topic

Data Transfer Object

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
I have 2 jsp pages.The field in one jsp must be automatically updated when a field in another jsp is entered or selected from a dropdown.

How can I do this using DTO
Alex Hurtt
Ranch Hand

Joined: Oct 26, 2010
Posts: 98
when the user modifies the value in JSP 1, update the value in the DTO. When the user loads JSP 2, read the value from the DTO. Any more questions?
himanshu.harish agrawal
Ranch Hand

Joined: Oct 18, 2010
Posts: 47

If you are using struts framework then i think you can also do it with form beans.
I agree. Here's the link:
subject: Data Transfer Object
Similar Threads
field value displayed wrongly
enabling and disabling text fields and buttons
i want to call multiple function on single jsp usiing ajax code
Using the variables of same JSP page
Assigning values to hidden variables