struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paweł Wielgus <poulw...@gmail.com>
Subject Re: Linking page
Date Mon, 24 May 2010 15:44:17 GMT
Hi All,
i prefer it with !input added to action name,
it will call input method on action
which is kind of what You really want,
that way submitting form will simply call execute method.
But generally it's just the question of taste.

Best greetings,
Paweł Wielgus.


2010/5/21 Stephen Turner <sturner@mit.edu>:
> On Fri, 21 May 2010 11:39:56 -0400, chris@chrismiles.org
> <chris@chrismiles.org> wrote:
>
>> If you are not
>> populating/building a view then it makes no sense to go through the
>> controller. It is counter intuitive just pass through an action which does
>> nothing, when the JSP would get filtered anyway.
>>
>> Chris
>>
>
> That's your choice of course, but always putting jsps behind actions is
> generally considered a Struts best practice. See:
>
> http://markmail.org/message/pq5svxnx4wuznou6
>
> Always using the MVC pattern gives consistency - some people might think
> that mixing MVC and a view-only approach is counterintuitive...
>
> Steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message