Re: struts2 and WebSphere dynacache

2013-02-12 Thread Lukasz Lenart
2013/2/12 S M : > What if I use a servlet for the 'View' instead of using a struts2 action or > using spring/guice? Since my only objective is to try use dynacache, for > the views. There is no View action in Struts 2 by default, is it a custom action you made? Anyway, if those are the static reso

Re: struts2 and WebSphere dynacache

2013-02-12 Thread Lukasz Lenart
2013/2/12 Antonios Gkogkakis : > Assuming that caching of Action objects makes sense in your application, > you could change the struts default object factory, > to guice or spring and declare the action beans that you want to be cached > as singletons. Alternatively you could write your own objec

Re: Legacy struts 1 dtd's gone?

2013-02-12 Thread Lukasz Lenart
2013/2/13 Eric Rank : > Thanks Paul, > > It does look like dtd named in the struts.xml is inconsistent with the > dtd's that are actually in the jar file. > > I appreciate the help As Paul already said, the problem is related to DOCTYPE mismatch in struts.xml, xwork.xml, it should be like this: h

Re: Legacy struts 1 dtd's gone?

2013-02-12 Thread Eric Rank
Thanks Paul, It does look like dtd named in the struts.xml is inconsistent with the dtd's that are actually in the jar file. I appreciate the help On Tue, Feb 12, 2013 at 4:39 PM, Paul Benedict wrote: > If your application server is going out to the Internet to get the DTDs, > that most likel

Re: Legacy struts 1 dtd's gone?

2013-02-12 Thread Paul Benedict
If your application server is going out to the Internet to get the DTDs, that most likely means you have a configuration issue. The DTDs are part of the library; your application server should be able to load them locally. Paul On Tue, Feb 12, 2013 at 5:36 PM, Eric Rank wrote: > Hi list! > > I'

Legacy struts 1 dtd's gone?

2013-02-12 Thread Eric Rank
Hi list! I've got an odd problem related to an old Struts 1.2 application my team maintains. The basic problem is that the Struts servlet cannot load because it fails with a "File not found" Exception java.io.FileNotFoundException: http://struts.apache.org/dtds/struts-config_1_2.dtd This proble

Re: struts2 and WebSphere dynacache

2013-02-12 Thread S M
What if I use a servlet for the 'View' instead of using a struts2 action or using spring/guice? Since my only objective is to try use dynacache, for the views. I don't have experience with Spring so my understanding of the benefits are lacking. On Tue, Feb 12, 2013 at 10:20 AM, Antonios Gkogkakis

Re: struts2 and WebSphere dynacache

2013-02-12 Thread Antonios Gkogkakis
Assuming that caching of Action objects makes sense in your application, you could change the struts default object factory, to guice or spring and declare the action beans that you want to be cached as singletons. Alternatively you could write your own object factory and put some caching logic th

Re: struts2 and WebSphere dynacache

2013-02-12 Thread S M
Hi, Thanks for the quick response. I've structured my struts2 application by using a struts action 'View' which renders different pages depending on the parameters passed in to the view. So I'm looking to cache the different pages based on the url. On Tue, Feb 12, 2013 at 1:20 AM, Lukasz Lenar

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-12 Thread Sreekanth S. Nair
Thanks Lukasz, appreciate your suggestion but our application is so huge to make an sudden upgrade to latest version. On Tue, Feb 12, 2013 at 3:51 PM, Lukasz Lenart wrote: > 2013/2/12 Sreekanth S. Nair : > > Which is the safest (required no code changes at our side) upgrade > version > > for str

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-12 Thread Lukasz Lenart
2013/2/12 Sreekanth S. Nair : > Which is the safest (required no code changes at our side) upgrade version > for struts2 from struts2-core-2.1.2 version. I would say 2.1.8.1 as it's the same line but it would much better to upgrade to the latest available version as few important security vulnerab

Re: Does OGNL 3.0.6 work with Struts2 -core-2.1.2 ?

2013-02-12 Thread Sreekanth S. Nair
Which is the safest (required no code changes at our side) upgrade version for struts2 from struts2-core-2.1.2 version. -- Thanks & Regards Srikanth Software Developer eGovernments Foundations www.egovernments.org Mob : 9980078913