Re: Struts and Result Beans

2006-03-27 Thread Asad Habib
On Mon, 27 Mar 2006, Dave Newton wrote: Asad Habib wrote: Well, your right since the date will be shared by all sessions. However, if I go this route I will need a method to update the date every time it changes. You need that anyway, as a user might be on the site over the midnight hour.

Re: Struts and Result Beans

2006-03-27 Thread Dave Newton
Asad Habib wrote: > Well, your right since the date will be shared by all sessions. > However, if I go this route I will need a method to update the date > every time it changes. You need that anyway, as a user might be on the site over the midnight hour. The bean can just return the current date

Re: Struts and Result Beans

2006-03-27 Thread Asad Habib
On Mon, 27 Mar 2006, Dave Newton wrote: Asad Habib wrote: What is the best way to use result beans with Struts (i.e. beans that are not associated with a form). In particular, I have a plugin class that's called by the Struts action servlet upon startup and this class calculates the current da

Re: Struts and Result Beans

2006-03-27 Thread Dave Newton
Asad Habib wrote: > What is the best way to use result beans with Struts (i.e. beans that > are not associated with a form). In particular, I have a plugin class > that's called by the Struts action servlet upon startup and this class > calculates the current date. This date needs to be stored in a

Struts and Result Beans

2006-03-27 Thread Asad Habib
What is the best way to use result beans with Struts (i.e. beans that are not associated with a form). In particular, I have a plugin class that's called by the Struts action servlet upon startup and this class calculates the current date. This date needs to be stored in a bean having session s