Well, in my JSP I have lists (s:select tag) that are filled by the init method of my action. So when I redirect to the JSP, it crashes because the lists in my action have not been initialized. Can the prepare method be used to do this ?
2007/5/28, Dave Newton <[EMAIL PROTECTED]>:
--- Olivier THIERRY <[EMAIL PROTECTED]> wrote: > Well, no ... I thought actions could be POJOs ... They can. If you don't mind losing all the functionality or implementing it yourself. > <result name="input"> > /absences/initCreerDemandeAbsence.action > </result> Why wouldn't you forward to the input JSP? In any case, particularly when there's only one "real" method in the action, the Preparable interface might be a better idea... and can eliminate some manual busywork. d. ____________________________________________________________________________________ Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]