Grokbase Groups Struts user May 2007
FAQ
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 <newton.dave@yahoo.com>:
--- Olivier THIERRY 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 14 of 16 | next ›
Discussion Overview
groupuser @
categoriesstruts
postedMay 9, '07 at 7:42a
activeMay 29, '07 at 4:42a
posts16
users7
websitestruts.apache.org
irc#struts

People

Translate

site design / logo © 2021 Grokbase