You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@yahoo.com> on 2007/08/16 14:28:23 UTC

[OT] Re: [action question]

Struts is a web application framework.

Spring's functionality runs the gamut; its primary use in Struts is as a dependency injection mechanism.

Looking at the Spring website [1] might be a good place to learn about Spring.

d.

[1] http://www.springframework.org/

----- Original Message ----
From: meisam sarabadani <me...@gmail.com>
To: Struts Users Mailing List <us...@struts.apache.org>
Sent: Thursday, August 16, 2007 7:54:25 AM
Subject: Re: [action question]

can anybody tell me the differences between Spring and Struts ?

Im confused over here :((

On 8/16/07, Dave Newton <ne...@yahoo.com> wrote:
>
> > can i forward an action to another action using the result
> > tag in action mappings?
>
> Yes; result type is redirect-action [1] ([2] for all types).
>
> See [3] regarding action mapping configuration.
>
> d.
>
> [1] http://struts.apache.org/2.x/docs/redirect-action-result.html
> [2] http://struts.apache.org/2.x/docs/result-types.html
> [3] http://struts.apache.org/2.x/docs/action-configuration.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Moody friends. Drama queens. Your life? Nope! - their life, your story.
> Play Sims Stories at Yahoo! Games.
> http://sims.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Appreciated much,

Meisam Sarabadani
IBM Student Ambassador
Vice president II, IT Society
Multimedia University, Cyberjaya Capmus
------------------------------------------------------------------
"The day the Lord created hope was probably the same day he created
Spring."              Bern Williams.
------------------------------------------------------------------





       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 

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


RE: [OT] Re: [action question]

Posted by Baseer Patel MD <Ba...@mphasis.com>.
Through spring frame work one can integrate other open source framework
(like hibernate, Struts iBatis..) in a flexible way.
Spring provides many other features like DI and AOP.
Also we can add customized code through interceptors and proxy.
DI = No need to create Bean, container knows when and how to create bean
instance along with bean dependencies.
In general we can say spring lies over multiple layers in an enterprise
application.


-----Original Message-----
From: meisam sarabadani [mailto:meisam.sarabadani@gmail.com] 
Sent: Thursday, August 16, 2007 6:25 PM
To: Struts Users Mailing List
Subject: Re: [OT] Re: [action question]

If you wanna compare them which one do u like the most ? and why? can we
say
which one s better ? or this is a wrong question may be ?

thank you

On 8/16/07, Dave Newton <ne...@yahoo.com> wrote:
>
> Struts is a web application framework.
>
> Spring's functionality runs the gamut; its primary use in Struts is as
a
> dependency injection mechanism.
>
> Looking at the Spring website [1] might be a good place to learn about
> Spring.
>
> d.
>
> [1] http://www.springframework.org/
>
> ----- Original Message ----
> From: meisam sarabadani <me...@gmail.com>
> To: Struts Users Mailing List <us...@struts.apache.org>
> Sent: Thursday, August 16, 2007 7:54:25 AM
> Subject: Re: [action question]
>
> can anybody tell me the differences between Spring and Struts ?
>
> Im confused over here :((
>
> On 8/16/07, Dave Newton <ne...@yahoo.com> wrote:
> >
> > > can i forward an action to another action using the result
> > > tag in action mappings?
> >
> > Yes; result type is redirect-action [1] ([2] for all types).
> >
> > See [3] regarding action mapping configuration.
> >
> > d.
> >
> > [1] http://struts.apache.org/2.x/docs/redirect-action-result.html
> > [2] http://struts.apache.org/2.x/docs/result-types.html
> > [3] http://struts.apache.org/2.x/docs/action-configuration.html
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
________________________________________________________________________
____________
> > Moody friends. Drama queens. Your life? Nope! - their life, your
story.
> > Play Sims Stories at Yahoo! Games.
> > http://sims.yahoo.com/
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Appreciated much,
>
> Meisam Sarabadani
> IBM Student Ambassador
> Vice president II, IT Society
> Multimedia University, Cyberjaya Capmus
> ------------------------------------------------------------------
> "The day the Lord created hope was probably the same day he created
> Spring."              Bern Williams.
> ------------------------------------------------------------------
>
>
>
>
>
>
>
>
________________________________________________________________________
____________
> Building a website is a piece of cake. Yahoo! Small Business gives you
all
> the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Appreciated much,

Meisam Sarabadani
IBM Student Ambassador
Vice president II, IT Society
Multimedia University, Cyberjaya Capmus
------------------------------------------------------------------
"The day the Lord created hope was probably the same day he created
Spring."              Bern Williams.
------------------------------------------------------------------

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


Re: [OT] Re: [action question]

Posted by meisam sarabadani <me...@gmail.com>.
I suppose basser is right, Spring is supporting more frameworks and more
architectures, it is easier to work with.

On 8/16/07, Dave Newton <ne...@yahoo.com> wrote:
>
> --- meisam sarabadani wrote:
> > If you wanna compare them which one do u like the
> > most ? and why? can we say which one s better ? or
> > this is a wrong question may be ?
>
> Probably the wrong question.
>
> Spring *does* have an MVC web application framework;
> you could compare *that* with Struts (in which case I
> still like S2 more than Spring, and either more than
> S1).
>
> But Spring does an awful lot more, so it's not really
> a comparison of Spring in general to Struts.
>
> d.
>
>
>
>
>
> ____________________________________________________________________________________
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Appreciated much,

Meisam Sarabadani
IBM Student Ambassador
Vice president II, IT Society
Multimedia University, Cyberjaya Capmus
------------------------------------------------------------------
"The day the Lord created hope was probably the same day he created
Spring."              Bern Williams.
------------------------------------------------------------------

Re: [OT] Re: [action question]

Posted by Dave Newton <ne...@yahoo.com>.
--- meisam sarabadani wrote:
> If you wanna compare them which one do u like the
> most ? and why? can we say which one s better ? or 
> this is a wrong question may be ?

Probably the wrong question.

Spring *does* have an MVC web application framework;
you could compare *that* with Struts (in which case I
still like S2 more than Spring, and either more than
S1).

But Spring does an awful lot more, so it's not really
a comparison of Spring in general to Struts.

d.



       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

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


Re: [OT] Re: [action question]

Posted by meisam sarabadani <me...@gmail.com>.
If you wanna compare them which one do u like the most ? and why? can we say
which one s better ? or this is a wrong question may be ?

thank you

On 8/16/07, Dave Newton <ne...@yahoo.com> wrote:
>
> Struts is a web application framework.
>
> Spring's functionality runs the gamut; its primary use in Struts is as a
> dependency injection mechanism.
>
> Looking at the Spring website [1] might be a good place to learn about
> Spring.
>
> d.
>
> [1] http://www.springframework.org/
>
> ----- Original Message ----
> From: meisam sarabadani <me...@gmail.com>
> To: Struts Users Mailing List <us...@struts.apache.org>
> Sent: Thursday, August 16, 2007 7:54:25 AM
> Subject: Re: [action question]
>
> can anybody tell me the differences between Spring and Struts ?
>
> Im confused over here :((
>
> On 8/16/07, Dave Newton <ne...@yahoo.com> wrote:
> >
> > > can i forward an action to another action using the result
> > > tag in action mappings?
> >
> > Yes; result type is redirect-action [1] ([2] for all types).
> >
> > See [3] regarding action mapping configuration.
> >
> > d.
> >
> > [1] http://struts.apache.org/2.x/docs/redirect-action-result.html
> > [2] http://struts.apache.org/2.x/docs/result-types.html
> > [3] http://struts.apache.org/2.x/docs/action-configuration.html
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Moody friends. Drama queens. Your life? Nope! - their life, your story.
> > Play Sims Stories at Yahoo! Games.
> > http://sims.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> Appreciated much,
>
> Meisam Sarabadani
> IBM Student Ambassador
> Vice president II, IT Society
> Multimedia University, Cyberjaya Capmus
> ------------------------------------------------------------------
> "The day the Lord created hope was probably the same day he created
> Spring."              Bern Williams.
> ------------------------------------------------------------------
>
>
>
>
>
>
>
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all
> the tools to get online.
> http://smallbusiness.yahoo.com/webhosting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Appreciated much,

Meisam Sarabadani
IBM Student Ambassador
Vice president II, IT Society
Multimedia University, Cyberjaya Capmus
------------------------------------------------------------------
"The day the Lord created hope was probably the same day he created
Spring."              Bern Williams.
------------------------------------------------------------------