This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling javascript country-state value in servlet through JSP form  RSS feed

 
Shrikant Naidu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,


Sir i have got stuck in problem......i need to use country-state drop down in my jsp form....and for this i am using a javascript...from this javascript file i am able to retrieve all countries & their respective states....but my problem is i need to store this user selected country & state in database through servlet ...So i am calling that respective country and state through getParameter function in servlet....But it is showing NULL value in servlet....What to do?
Please give me a suggestion.

Regards.
Shrikant.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is the problem related to JSF?
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Shrikant. I'm afraid our first suggestion is this: http://faq.javaranch.com/java/CarefullyChooseOneForum

You'll find that you get better answers and faster answers when you ask where experts on the topic hang out.

I do recommend that you try and explain what you're attempting a little more plainly, however. I know WHAT you're trying to do - I just recently finished up working on something just like it. But your explanation of HOW you're trying to do it is confusing.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!