ModelDriven, Preparable and SessionAware do not work with Spring

2007-03-08 Thread Shih-gian Lee
Hi All, I think I know what is the trouble but am still not sure why is this a problem for Struts 2.0. I hope someone from the Struts community can help to shed some light. Or what is the recommended way of aoping the action class if spring proxy is not the route to go. The problem is when I us

ModelDriven, Preparable and SessionAware do not work with Spring

2007-03-08 Thread Shih-gian Lee
Hi All, I have been playing with Struts 2.0 sample application, struts-blank, and integrates it with Spring 2.x. So far, I have not been having great success with it. I have followed all the steps needed to integrate Struts 2.0 w

Re: caching large data in web application

2004-11-30 Thread Shih-gian Lee
Well, if the data is read only, then you can just cache the data in a Hashtable and make it accessible through out the application. If your data is volatile, then you may consider writing a simple time based caching service - http://www.javaworld.com/javaworld/jw-07-2001/jw-0720-cache_p.html Hibe

Re: How to retrieve parameters passed via GET method?

2004-11-28 Thread Shih-gian Lee
> In my Struts configuration file, an action element is defined as the > following: > type="org.apache.struts.actions.ForwardAction" > parameter="/closeAccount.jsp" /> > > When customer clicks on the hyperlink, ActionServlet receives the HTTP > request, pre-processes it and forwards it to F