• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

calling different files

 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Forward the control to wherever you like:
http://www.roseindia.net/struts/struts-forward-action.shtml
 
Aditi agarwal
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 247
MyEclipse IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi aditi ,

Why do you want to call a action that is not in the scope..?

best regards
Raza
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic