On Fri, 2006-07-28 at 16:36 +0530, Kavita Mehta wrote: > hmm ..thanks ....n how gud is an idea to access this value from outside > action class ..i.e. i call a method in action class from outside struts > framework which changes its value on recieving an alarm/trap. > > Patil, Sheetal wrote: > > DTO means normal object which contains the data > > In your case you want to store "In Progress".. > > So just put "In Progress" into an object and save it to application > > scope > > Even if you want to change just change t o"Done" and agin store to > > application
It's not only a good idea. That is exactly what the DTO (Data Transfer Object [1]) is for. It's not a Struts-specific object at all. [1] http://en.wikipedia.org/wiki/Data_Transfer_Object Chris -- Christopher D. Goldman [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]