struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markbeek <markb...@carolina.rr.com>
Subject Re: prepare method not working
Date Fri, 06 Mar 2009 05:00:35 GMT



vhumble wrote:
> 
> Even after implementing the prepare method, I still get the same error as
> before and when I debug with eclipse, i never enter into prepare method. I
> am using basic struts-default stack and in this stack, prepare comes
> before validation.
> 

You do need to implement the Preparable interface. Otherwise the prepare
interceptor will not be able to call your prepare method.

Chapter 10 of Budi Kurniawan's book Struts 2 Design and Programming has a
good explanation of how to use the prepare interceptor. 
-- 
View this message in context: http://www.nabble.com/prepare-method-not-working-tp22339038p22366253.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message