This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Unable to fetch values  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi my prob is that i am unable to fetch the values of the forms

I have one form which is having one combobox and one text box.
Onchange event of this combo i have written one function to which returns me values of the combo and displays it in the text box.

ON action of this form i have called one jsp page which fetches the value of the text box of the first form and redirects it to 3 jsp page where this value is used as input parameter of some sql query.

BUT some how it is returning null values
can any one help please

Thanks

Amrit
 
Author and ninkuma
Marshal
Posts: 66810
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Amrit Peeyush:
I have one form which is having one combobox ...

No, you don't. There's no such thing as a combobox in HTML. You mean a select element. Please read this for more information.

and redirects it to 3 jsp page

A redirect causes a new request to be generated, and any submitted information on the first request is lost.

you should not be submitting to JSP pages in the first place. Servlets should be used to process data, not JSPs.

As this is more about JSP than about HTML, this post has been moved to a more appropriate forum.
[ November 21, 2008: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!