I was just going directly to the jsp with the form, like I used to in struts
1.x. It looks like the preferred way to do it now is to wildcard the action
name, add a input result, and then access the form via
myActionName_input.action

This is working fine. Is this the preferred method?


On 2/20/07, Dave Newton <[EMAIL PROTECTED]> wrote:

--- "C. Adams" <[EMAIL PROTECTED]> wrote:
> Maybe it should, but it doesn't. The value of test
> is always blank, and a println I put in the getter
> does not show up in the log. I don't thing the
> action is being instantiated until after the form is
> submitted.

Actions are instantiated per-request. If you are using
the Action as the input Action for the form and
setting a value to something exposed to the JSP then
it will show up.

If you can reduce (and duplicate) your problem then
post the relevent config, Action, and JSP chunks.

Are you using the standard result name of "input" for
the input page?

Dave





____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to