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
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!