aspose file tools*
The moose likes JSP and the fly likes help in making JSP form with user Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "help in making JSP form with user" Watch "help in making JSP form with user" New topic
Author

help in making JSP form with user

prasanna pati
Ranch Hand

Joined: Jan 29, 2005
Posts: 46
I making a JSP form ( say similar to yahoo email account registration page ) where the user need to see a random image and have to type exactly same what was written in the image . otherwise everyfield will become reset)How to do that ?
also I like to input some pre-populate say user have to choose the country then state . Now if the chooses USA the all states of USA will come in the next drop-down and if he chooses China or say UK then all states of china or shires of england will come respectively . HOW to do that?
[ March 23, 2008: Message edited by: Bear Bibeault ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Both of these questions are a bit beyond the scope of a forum like this but I'll give you some key words to google.

The images in your first question are called 'captchas'.
There is plenty of information about them on the web.
Add "Java" to the query and you should find some libraries that you can use to add this to your application.


The second feature is one of the most asked about techniques in this forum and has become the poster child for AJAX.
Google for 'dependent dropdowns', 'cascading select lists', or some other combination of those terms and you should find plenty of examples.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help in making JSP form with user