File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling javascript country-state value in servlet through JSP form

 
Shrikant Naidu
Greenhorn
Posts: 3
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How is the problem related to JSF?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17624
39
Android Eclipse IDE Linux
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic