RE: using an action form if no input from page

2006-01-30 Thread Myatluk Andrey
Hi! I would say you can use ActionForm as a bean to pass values from your action to your JSP. AFAIK ActionForm is just a bean with some convenience methods. Andrey -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 10:50 PM To: user@strut

Re: using an action form if no input from page

2006-01-27 Thread Hubert Rabago
If the request being submitted doesn't include form values, I'd say skip the ActionForm. Hubert On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > My question concerns jsp pages that provide a read only view of data. In > other words, there won't be a form submitted from the page. Is

Re: using an action form if no input from page

2006-01-27 Thread Craig McClanahan
On 1/27/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Struts best practices suggest that an action handles a request (with > or without input data), while a JSP page is simply a data-aware HTML. > Look at it this way: by calling an action instead of calling JSP > directly you are asking for

Re: using an action form if no input from page

2006-01-27 Thread Michael Jouravlev
Struts best practices suggest that an action handles a request (with or without input data), while a JSP page is simply a data-aware HTML. Look at it this way: by calling an action instead of calling JSP directly you are asking for a resource to render itself according to its current state. If you