Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 b.jsp, ...

Go Back   Geeks Talk > Web Development > JSP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

JSP JSP Related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
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: 20
Thanks: 0
Thanked 6 Times in 4 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT -4. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved