Well, the project that we are building have a common part (now only user
administration) and then we have two independent modules (with some links
between theirs). In this case, it would be a good solution use an ear, but
some clients are working in tomcat, then we are working with a war.
Really,
Josep --
That sounds a little radical. Do you mind if I ask why? Is the unique
namespace per package not enough separation? Hey, if strict separation is
what you desire, you could package each S2 package in it's own project and
move the package namespace to the web root context and be done with
Scott, it's interesting, I didn't know that, but i would like to have
different application context in the same war, specifically, i would like to
have an application context for each package that is defined in struts.xml.
Thanks,
Josep Maria
2010/11/17
> Josep --
>
> I believe this is what y
Josep --
I believe this is what you are looking for.
http://blog.springsource.com/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/
Peace,
Scott
2010/11/17 Josep María Formentí Serra
> Thanks Dave and Chris,
>
> Chris, that it's nice, we are going to mod
Thanks Dave and Chris,
Chris, that it's nice, we are going to modify it in our project. But our
real problem is that we have two independent modules (and struts package for
each one) and many spring beans have the same name. Then we have to change
bean names when we detect a conflict. I think it w
If you are talking about per Java package, not that I know of. If you mean
per Struts package, same thing. But if you mean per jar file, there is a
way. If you set your contextConfigLocation to something like
"WEB-INF/applicationContext.xml,classpath*:pluginContext.xml" then Spring
will load you
As far as I know there's nothing in the Spring plugin that currently
provides that functionality.
Dave
2010/11/12 Josep María Formentí Serra :
> Hi,
>
> We are working in a new project using struts2 + spring + hibernate. We have
> many packages defined in struts.xml, one for module. We have confi
Hi,
We are working in a new project using struts2 + spring + hibernate. We have
many packages defined in struts.xml, one for module. We have configured
spring using this guide:
http://struts.apache.org/2.0.14/docs/spring-plugin.html, where you define
one spring context (using the context param: co
8 matches
Mail list logo