struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paweł Wielgus" <>
Subject Re: Best Practice for Transfer Data from Action to Viewer JSP?
Date Wed, 24 Sep 2008 07:16:31 GMT
Hi Guojun,
in case of struts1 i would use form (struts form).

Best greetings,
Paweł Wielgus.

2008/9/24 Guojun Zhu <>:
> Hi,
> I am new to struts.  I am using Struts 1.2.9.  I have two String arrays
> generated in an action should go to the JSP pages <html:options>.  I can set
> it as an attribute in request/session and pull them in jsp pages.  But it
> seems a bit against the idea of separation between model and view.  If I
> change the view from JSP then there might be some difficulty to pull the
> object out.   Is there any other ways to do this?  What will be the best
> practice for a thing like this?  Thanks.
> Guojun
View raw message