RE: Struts Spring dependency

2015-02-20 Thread Tamer Erdogan
Thanks, I'll try it.

-Original Message-
From: Dave Newton [mailto:davelnew...@gmail.com] 
Sent: Friday, February 20, 2015 14:44
To: Struts Users Mailing List
Subject: Re: Struts Spring dependency

(Personally, I'd just try it.)

If it's not being used, it's not being used--we don't have any way of knowing 
if it *actually* isn't being used short of looking at it, but if you say it 
works without it, then it probably isn't.

Dave


On Fri, Feb 20, 2015 at 8:42 AM, Tamer Erdogan 
wrote:

> Hi,
>
> I have taken over a struts2 application and there is something, that 
> confuses me.
> Under WEB-INF there is applicationContext.xml with the following content:
>   "-//SPRING//DTD BEAN//EN" "
> http://www.springframework.org/dtd/spring-beans.dtd";>
> 
> 
>
> And in web.xml there is the following:
> ...
> 
>
> org.springframework.web.context.ContextLoaderListener<
> /listener-class>
> 
> ...
>
> And in pom.xml of course the struts2-spring-plugin is added as dependency.
> In the web application itself, the spring is not used anywhere. If I 
> remove the above definitions, the application itself is running and I 
> don't see any errors.
> My question is that, does struts2 needs the spring-plugin absolutely? 
> If I remove this dependency, would it be safe or what is the best practice 
> here?
>
> Thanks and kind regards
> Tamer Erdogan
>
>


--
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

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


Re: Struts Spring dependency

2015-02-20 Thread Dave Newton
(Personally, I'd just try it.)

If it's not being used, it's not being used--we don't have any way of
knowing if it *actually* isn't being used short of looking at it, but if
you say it works without it, then it probably isn't.

Dave


On Fri, Feb 20, 2015 at 8:42 AM, Tamer Erdogan 
wrote:

> Hi,
>
> I have taken over a struts2 application and there is something, that
> confuses me.
> Under WEB-INF there is applicationContext.xml with the following content:
> 
>  http://www.springframework.org/dtd/spring-beans.dtd";>
> 
> 
>
> And in web.xml there is the following:
> ...
> 
>
> org.springframework.web.context.ContextLoaderListener
> 
> ...
>
> And in pom.xml of course the struts2-spring-plugin is added as dependency.
> In the web application itself, the spring is not used anywhere. If I
> remove the above definitions, the application itself is running and I don't
> see any errors.
> My question is that, does struts2 needs the spring-plugin absolutely? If I
> remove this dependency, would it be safe or what is the best practice here?
>
> Thanks and kind regards
> Tamer Erdogan
>
>


-- 
e: davelnew...@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton 
b: Bucky Bits 
g: davelnewton 
so: Dave Newton 


Struts Spring dependency

2015-02-20 Thread Tamer Erdogan
Hi,

I have taken over a struts2 application and there is something, that confuses 
me.
Under WEB-INF there is applicationContext.xml with the following content:

http://www.springframework.org/dtd/spring-beans.dtd";>



And in web.xml there is the following:
...

  
org.springframework.web.context.ContextLoaderListener

...

And in pom.xml of course the struts2-spring-plugin is added as dependency.
In the web application itself, the spring is not used anywhere. If I remove the 
above definitions, the application itself is running and I don't see any errors.
My question is that, does struts2 needs the spring-plugin absolutely? If I 
remove this dependency, would it be safe or what is the best practice here?

Thanks and kind regards
Tamer Erdogan