struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markbeek <>
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:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message