Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
| Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 18th, 2007, 12:42 PM
Registered User
Join Date: Dec 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic selection of next page based on list box s


I would like to know if I can do something to dynamically select the next page based on the list box selection.
I mean I have around 4 items in the list box and when I select an item and click the submit button I want to go to page1 and another item takes me to page 2 and so on.

Is this possible in JSP. Can anyone guide me on how to do this.


  #2 (permalink)  
Old December 24th, 2007, 06:03 AM
Friend of Wrox
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post

Take the value of the selected combo box [get it after the form submit through request parameter], then create a request dispatcher if you want to forward or do a redirect to the jsp based on the value of the selected combo box. I mean by conditionally

- Rakesh

Similar Threads
Thread Thread Starter Forum Replies Last Post
Query based on a list box ghall202 Access VBA 4 November 2nd, 2007 07:10 AM
Query based on combo box selection help Elain Access 1 January 3rd, 2006 11:33 PM
Populate List Box by Combo Box Selection mmcdonal Access 2 June 15th, 2004 12:08 PM
Radio Button activates a selection box in the page rnerilla JSP Basics 0 April 23rd, 2004 12:14 AM
Radio button activates a selection box in the page rnerilla PHP How-To 1 April 22nd, 2004 01:41 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.