struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Faria <>
Subject [S2] Prepable and Validate
Date Wed, 17 Jan 2007 16:37:49 GMT
    I have these methods in a Action:
public action Person extends ActionSupport  implemens Preparable {
    public String input {...}
    public void prepareInput{..}
    public void validateSave(){
    public void save(){...};  
    public void prepare(){};

    Before the method input the method prepareInput is called by the 
Interceptor, but the if I put an error in method validateSalve (that is 
called by the interceptor too before the method save), the input result 
will be called, but without call the method prepareInput... Is that correct?

Have a Nice Day,

*/André Faria/*

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

View raw message