Geeks Talk

Prepare for your Next Interview




single action to forward to different multiple JSP pages

This is a discussion on single action to forward to different multiple JSP pages within the JSP forums, part of the Web Development category; Is there any possibility to on single action to forward to different multiple jsp pages. Example: When i click on login button in a.jsp i would like to go ...


Go Back   Geeks Talk > Web Development > JSP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-30-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 153 Times in 133 Posts
Geek_Guest is on a distinguished roadGeek_Guest is on a distinguished road
single action to forward to different multiple JSP pages

Is there any possibility to on single action to forward to different multiple jsp pages.

Example:

When i click on login button in a.jsp i would like to go b.jsp, c.jsp, d.jsp

Question asked by visitor Sridhar
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-04-2007
Junior Member
 
Join Date: Jun 2007
Location: India
Posts: 15
Thanks: 0
Thanked 5 Times in 3 Posts
deeptiagrawal is on a distinguished road
Re: single action to forward to different multiple JSP pages

When we submit any request it goes Action servlet if ur action servlet comprise of different taskaction thn u can return different values for Action forward object. Accordingly you can change the path to different jsp in web.xml.
Reply With Quote
The Following 3 Users Say Thank You to deeptiagrawal For This Useful Post:
  #3 (permalink)  
Old 07-04-2007
Junior Member
 
Join Date: Jun 2007
Location: pune
Posts: 13
Thanks: 5
Thanked 0 Times in 0 Posts
satishk is on a distinguished road
Re: single action to forward to different multiple JSP pages

<jsp:Forward tag to forward to another resources.
Reply With Quote
  #4 (permalink)  
Old 01-31-2008
Junior Member
 
Join Date: Jan 2008
Location: hyderabad
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
malli1mca07 is on a distinguished road
Re: single action to forward to different multiple JSP pages

for that perpose use DispatchAction
Reply With Quote
  #5 (permalink)  
Old 03-14-2008
Junior Member
 
Join Date: Mar 2008
Location: BANGALORE
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
nagaraju.chinni is on a distinguished road
Re: single action to forward to different multiple JSP pages

Hi,
What DeepthiAgarwal said is right.But make modifications accordingly in struts-config.xml, not in web.xml
Reply With Quote
Reply

  Geeks Talk > Web Development > JSP


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Number of pages passed and pages/sec JobHelper LoadRunner 3 01-07-2008 12:44 AM
Creating multiple projects on a single server like tomcat Geek_Guest Java 2 08-24-2007 09:12 AM
Insert of multiple records in single query ramvidhu SQL Server 5 07-03-2007 07:53 AM
I want one action from multiple actions prasad_trp Testing Issues 0 06-18-2007 10:18 PM
Parse a single record into multiple smaller records pspanny Data Warehousing 0 03-30-2007 01:25 AM


All times are GMT -4. The time now is 06:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved