aspose file tools*
The moose likes JSF and the fly likes Calling javascript country-state value in servlet through JSP form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Calling javascript country-state value in servlet through JSP form" Watch "Calling javascript country-state value in servlet through JSP form" New topic
Author

Calling javascript country-state value in servlet through JSP form

Shrikant Naidu
Greenhorn

Joined: Mar 09, 2009
Posts: 3
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

Joined: Oct 08, 2006
Posts: 2458
How is the problem related to JSF?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15628
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling javascript country-state value in servlet through JSP form
 
Similar Threads
Property value not getting set in Action Form
How to retrieve data from database when ever select in drop down list?
Find duplicate value in jsp page
JSP to servlet
Submitting hidden values on the form with onSelect option