meeboo wrote:
Still no solution to this problem. How come parameters in actions with
wildcards (for example myapp/modelObject/*) aren't parsed in the prepare
method? They work fine when I parse them in my assigned action method :(
meeboo wrote:
Hey again
I'm posting via nabble, and it
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Running-a-prepare-method-before-the-assigned-action-method-tp16219260p16274676.html
Sent from the Struts - User mailing
meeboo wrote:
Still no solution to this problem. How come parameters in actions with
wildcards (for example myapp/modelObject/*) aren't parsed in the prepare
method? They work fine when I parse them in my assigned action method :(
If you're using 2.1, there are now a number of ways in which
will be invoked
before all actions in that class, I want it to be invoked just for this
specific action.
Any ideas?
Thanks
--
View this message in context:
http://www.nabble.com/Running-a-prepare-method-before-the-assigned-action-method-tp16219260p16219260.html
Sent from the Struts - User mailing list
in modelObjectActions but then the prepare method
will be invoked before all actions in that class, I want it to be invoked
just for this specific action.
Any ideas?
Thanks
--
View this message in context:
http://www.nabble.com/Running-a-prepare-method-before-the-assigned-action-method
method
will be invoked before all actions in that class, I want it to be invoked
just for this specific action.
Any ideas?
Thanks
--
View this message in context:
http://www.nabble.com/Running-a-prepare-method-before-the-assigned-action-method-tp16219260p16222867.html
Sent from
--- meeboo [EMAIL PROTECTED] wrote:
I have a class for several actions and each action is mapped to a method,
like this:
action name=update/modelObject
class=net.myapp.web.modelObjectActions
method=update
result/index.jsp/result
/action
The above action will fire
this message in context:
http://www.nabble.com/Running-a-prepare-method-before-the-assigned-action-method-tp16219260p16225398.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
--- meeboo [EMAIL PROTECTED] wrote:
won't work with a wildcard parameter mapping Dave
action name=update/modelObject/*
class=net.myapp.web.ModelObjectActions
method=update
Your first post didn't have a wildcard mapping.
The parameter simply isn't parsed in the prepare
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Running-a-prepare-method-before-the-assigned-action-method-tp16219260p16227199
10 matches
Mail list logo