You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ta...@iflexsolutions.com on 2003/08/08 12:45:12 UTC
struts help required urgent
Hi,
I want to set an attribute in the request in an action class and forward the same request to another action class, the other Action class extends DispatchAction class, And I do not have any execute method in the class, I am clubbing several actions in the class and using different methods. How can I configure my struts-config.xml file so that my previous action class can forward the request to the any method of the new class which extends DispatchAction class.
Thanks in advance
Regards
Tarun
DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: struts help required urgent
Posted by Nagendra Kumar O V S <na...@ikigo.com>.
hi,
u will need a request parameter for executing a method on a dispatch action
class(not request attribute). so u can forward ur control something like
this
return new ActionForward(actionMapping.findForward("next_action")
getPath()+?method=method_to_execute");
and next_action is a forward defined in the config file
<forward name="next_action" path="foo.do"/>
-- nagi
-------Original Message-------
From: Struts Users Mailing List
Date: Friday, August 08, 2003 04:09:08 PM
To: struts-user@jakarta.apache.org
Subject: struts help required urgent
Hi,
I want to set an attribute in the request in an action class and forward the
same request to another action class, the other Action class extends
DispatchAction class, And I do not have any execute method in the class, I
am clubbing several actions in the class and using different methods. How
can I configure my struts-config.xml file so that my previous action class
can forward the request to the any method of the new class which extends
DispatchAction class.
Thanks in advance
Regards
Tarun
DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
.
RE: struts help required urgent
Posted by Nagendra Kumar O V S <na...@ikigo.com>.
I agree with U....
-------Original Message-------
From: Struts Users Mailing List
Date: Friday, August 08, 2003 04:27:23 PM
To: Struts Users Mailing List
Subject: RE: struts help required urgent
You could start by posting your question with a meaningful subject line.
http://www.catb.org/~esr/faqs/smart-questions.html
I might add that many of the folks on this list simply will not reply to any
post that has "urgent" in the subject line.
-----Original Message-----
From: tarun.matai@iflexsolutions.com
[mailto:tarun.matai@iflexsolutions.com]
Sent: Friday, 8 August 2003 18:45
To: struts-user@jakarta.apache.org
Subject: struts help required urgent
Hi,
I want to set an attribute in the request in an action class and forward
the same request to another action class, the other Action class extends
DispatchAction class, And I do not have any execute method in the class, I
am clubbing several actions in the class and using different methods. How
can I configure my struts-config.xml file so that my previous action class
can forward the request to the any method of the new class which extends
DispatchAction class.
Thanks in advance
Regards
Tarun
DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
.
RE: struts help required urgent
Posted by Andrew Hill <an...@gridnode.com>.
You could start by posting your question with a meaningful subject line.
http://www.catb.org/~esr/faqs/smart-questions.html
I might add that many of the folks on this list simply will not reply to any
post that has "urgent" in the subject line.
-----Original Message-----
From: tarun.matai@iflexsolutions.com
[mailto:tarun.matai@iflexsolutions.com]
Sent: Friday, 8 August 2003 18:45
To: struts-user@jakarta.apache.org
Subject: struts help required urgent
Hi,
I want to set an attribute in the request in an action class and forward
the same request to another action class, the other Action class extends
DispatchAction class, And I do not have any execute method in the class, I
am clubbing several actions in the class and using different methods. How
can I configure my struts-config.xml file so that my previous action class
can forward the request to the any method of the new class which extends
DispatchAction class.
Thanks in advance
Regards
Tarun
DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended recipient
you should not disseminate,distribute,store,print, copy or deliver this
message.Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a result
of e-mail transmission. If verification is required please request a
hard-copy version.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org