This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC 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
It's not a secret anymore!