Farouk,

If you use the @After (part of the BeforeAfter Interceptor) you will probably have to obtain the request and response objects for your no-arg method using the Action's context object, getContext.getRequest() and getContext.getResponse(), and hand those calls to your new BaseProcessor(....) call.

Good luck!
David

Farouk Alhassan wrote:

i call the init() method in all the Defaulthandler and IN every EventHandler. Obviously i didnt know of the @After(LifecycleStage.ActionBeanResolution) . I will try that because i want enforce calling the init() method but didnt know how so had to call it manually in every event handler. About the CachedRowSet, A CachedRowSet object is a disconnected rowset, which means that it makes use of a connection to its data source only briefly. It connects to its data source while it is reading data to populate itself with rows and again while it is propagating changes back to its underlying data source. The rest of the time, a CachedRowSet object is disconnected, including while its data is being modified. Being disconnected makes a RowSet object much leaner and therefore much easier to pass to another component. For example, a disconnected RowSet object can be serialized and passed over the wire to a thin client such as a personal digital assistant (PDA). http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/rowset/CachedRowSet.html

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to