Struts and Spring are not "competitors". Spring is a container and
Struts is a web framework. Indeed, using Spring with Struts is not
uncommon.
On Wed, 2 Mar 2005 17:20:03 -0800 (PST), M Murali <[EMAIL PROTECTED]> wrote:
>
>
> We are kind of middle of deciding go to with which framework.Can some one
> help. On high level, we have an application where data gets from webservices
> and is displayed to user thru JSP. the webservices access is done thru Axis
> and the proxy class generated are used on JSP side. Each proxy class holds
> data specific to businesslogic. In order to access these data , it looks
> like we need to create a form bean exactly to match with proxy class for
> accessing at JSP. Is there any way around creating a formbean for each
> dataclass??
>
> for example: in JSP we have
>
> <%
>
> LineInfo[] infos = LineBean.GetAllLines();
>
> %>
>
> <form>
>
> <% for (int = 0; i < infos.length; i++) %{>
>
> <input type=text value = infos[i].LineNo>
>
> <input type=text value = infos[i].UserName>
>
> <% }%>>
>
> </form>
>
>
>
> how can this be done using struts. Do we need to create a LineInfoFormBean
> ?? THe LineInfo is a proxy generated data class, if we have to create a
> FormBean for each dataclass, then it would be very in efficient and this
> would be duplicate of get/set from data class. Is is possible?? I heard
> the same can be easily using Spring. Any ideas, which one is best suits
> here.
>
> Thanks in advance.
>
> ________________________________
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
>
>
--
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Struts-apps mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-apps