RE: using an action form if no input from page

2006-01-30 Thread Myatluk Andrey
@struts.apache.org Subject: using an action form if no input from page 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 there a compelling reason to use an action form in these cases. I've just been

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

using an action form if no input from page

2006-01-27 Thread [EMAIL PROTECTED]
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 there a compelling reason to use an action form in these cases. I've just been using tags such as c:out with my own beans put in scope. I've noticed tha