Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

calling different files

 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic