You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2006/08/03 15:01:44 UTC

Struts + Spring 2.0

To those of you that are using Struts with Spring,

I've searched a way to make my actions hot-reloadable (no recompile 
neither redeploy) for quick prototyping using Spring 2.0 groovy scripted 
bean, without having to hardly change my existing actions and configuration.

I've found a "not so bad" solution described here : 
http://forum.springframework.org/showthread.php?t=27534

Any comment or better idea is welcome.

Nico.






This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


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


Re: Struts + Spring 2.0

Posted by Nicolas De Loof <ni...@capgemini.com>.
I've updated the wiki.
Please review it as my english is so bad...

Wendy Smoak a écrit :
> On 8/3/06, Nicolas De Loof <ni...@capgemini.com> wrote:
>
>> I've looked a Struts-scripting, but AFAIK this requires me to rewrite
>> all my struts-config.xml to set the Action java source as parameter.
>> Lot's of my action already use a parameter and I don't want to change my
>> projet (huge) struts-configs.
>
> Just checking.  Don doesn't advertise much, some people don't know
> it's there. :)
>
>> http://forum.springframework.org/showthread.php?t=27534
>
> Would you be willing to write this up as a howto for the wiki?  It
> doesn't print out very well from the forum posts. I added the link you
> provided, feel free to add a new page if you want.
>
> * http://wiki.apache.org/struts/StrutsAndSpring
>

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


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


Re: Struts + Spring 2.0

Posted by Wendy Smoak <ws...@gmail.com>.
On 8/3/06, Nicolas De Loof <ni...@capgemini.com> wrote:

> I've looked a Struts-scripting, but AFAIK this requires me to rewrite
> all my struts-config.xml to set the Action java source as parameter.
> Lot's of my action already use a parameter and I don't want to change my
> projet (huge) struts-configs.

Just checking.  Don doesn't advertise much, some people don't know
it's there. :)

> http://forum.springframework.org/showthread.php?t=27534

Would you be willing to write this up as a howto for the wiki?  It
doesn't print out very well from the forum posts. I added the link you
provided, feel free to add a new page if you want.

 * http://wiki.apache.org/struts/StrutsAndSpring

-- 
Wendy

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


Re: Struts + Spring 2.0

Posted by Nicolas De Loof <ni...@capgemini.com>.

> Have you looked at Struts Scripting?  It would be interesting to see
> how your approach differs from this.  (And whether Struts Scripting
> works with Spring 2.0 the way you need it to.)
>
I've looked a Struts-scripting, but AFAIK this requires me to rewrite 
all my struts-config.xml to set the Action java source as parameter.
Lot's of my action already use a parameter and I don't want to change my 
projet (huge) struts-configs.
I think the scripts also have to be placed in the application root. I'd 
like to point to the project src folder in my eclipse workspace.

In my approach, there is no change in the config files (expect the 
processorClass).

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.


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


Re: Struts + Spring 2.0

Posted by Wendy Smoak <ws...@gmail.com>.
On 8/3/06, Nicolas De Loof <ni...@capgemini.com> wrote:
>
> To those of you that are using Struts with Spring,
>
> I've searched a way to make my actions hot-reloadable (no recompile
> neither redeploy) for quick prototyping using Spring 2.0 groovy scripted
> bean, without having to hardly change my existing actions and configuration.

Have you looked at Struts Scripting?  It would be interesting to see
how your approach differs from this.  (And whether Struts Scripting
works with Spring 2.0 the way you need it to.)

  http://struts.apache.org/1.x/struts-scripting/user-guide.html

It's available on the downloads page [1] as an add-on for Struts 1.2,
and will be included in the 1.3 distribution.

[1] http://struts.apache.org/downloads.html

-- 
Wendy

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