struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Managing code between Action Class and JSP.
Date Thu, 09 Sep 2010 20:15:09 GMT
On Thu, Sep 9, 2010 at 4:12 PM, anjibman <anjibcs@hotmail.com> wrote:
> I will try to put in simple way but this may not be complete picture.
>
> What I am really struggling in is I have processing result in the form of
> List of objects. Now if I send this list of objects through request object
> to the JSP I have to do all processing on JSP with scriptlets. What would be
> the best practice to send such list to JSP ready to grab.

The list will be sent as you're sending it now: that's how you get
data to the JSP (view) layer.

The view layer should use either JSTL or custom tags. If there's more
complicated processing than can be handled simply via tags, that
processing should take place on the server side.

I'm not sure what other kind of information you're looking for.

Dave

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


Mime
View raw message