| Author |
calling different files
|
Aditi agarwal
Ranch Hand
Joined: Feb 23, 2011
Posts: 225
|
|
hi
my problem is bit typical to understand sopls feel free to ask if any doubts in that
actually i have 3 files one.jsp, two.jsp, three.jsp
i want to call
three.jsp after clicking one submit button of one.jsp but in between the action of two.jsp should also be called
please reply about this query
thank you
|
 |
Sharon whipple
Ranch Hand
Joined: Jul 31, 2003
Posts: 294
|
|
Forward the control to wherever you like:
http://www.roseindia.net/struts/struts-forward-action.shtml
|
 |
Aditi agarwal
Ranch Hand
Joined: Feb 23, 2011
Posts: 225
|
|
thank you sharon
for your reply
but sorry i am not asking this i want to go to third page from first while calling action file of 1 & 2nd page in between to perform both action
but then also i learn a new thing & thanks for your post
|
 |
Raza Mohd
Ranch Hand
Joined: Jan 20, 2010
Posts: 247
|
|
hi aditi ,
Why do you want to call a action that is not in the scope..?
best regards
Raza
|
Good luck!!
A small leak can sink a Gigantic ship.>
|
 |
ishan dave
Ranch Hand
Joined: Apr 16, 2007
Posts: 39
|
|
Aditi agarwal wrote:hi
my problem is bit typical to understand sopls feel free to ask if any doubts in that
actually i have 3 files one.jsp, two.jsp, three.jsp
i want to call
three.jsp after clicking one submit button of one.jsp but in between the action of two.jsp should also be called
please reply about this query
thank you
Hi,
I am not sure but action chaining might help you.
http://struts.apache.org/2.2.1.1/docs/action-chaining.html
regards,
Ishan
|
 |
 |
|
|
subject: calling different files
|
|
|