how to pass attributes while forwarding to an action
martin jose
Greenhorn
Joined: Aug 10, 2005
Posts: 9
posted
0
Hi guys,
In my application I have one calendar.do action. I can pass an attribte to it by calling it calendar.do?tgdate=1126247219084. In the action I am reading it using request.getParameter("tgdate"). It is working. Now my problem is, I have to come to this action from another action as a forward.
mapping.findForward("success"); where success is calendar.do
I this case how can I pass the date attribute. I tryed setting it as an attribure before forwarding.
There's also a utility class in the Scaffold ConvertUtils class where you can use called ConvertUtils.addParam you will need to look this up on the net though.
Hope this helps
Graham
martin jose
Greenhorn
Joined: Aug 10, 2005
Posts: 9
posted
0
Hi Graham ,
Thanks a lot. It is working perfectly. Thanks for your help.
Martin
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: how to pass attributes while forwarding to an action