wood burning stoves*
The moose likes Beginning Java and the fly likes I'm really getting confused more and more... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I Watch "I New topic
Author

I'm really getting confused more and more...

Todd Jaspers
Greenhorn

Joined: Aug 29, 2005
Posts: 23
Ok, I need to accomplish the following:

I basically have this web page with a series of fields on it. The fields contain everything from the person's name, to his payment information.

When the user clicks the submit button, it activates Javascript.

The Javascript I have stored in a seperate JS file. Basically, all that it does is validate several fields JUST to make sure that they aren't blank.


From THIS point, is where I'm confused. Up to that point, everything works fine. Anyway, from this point, I want to be able to take THREE of the values from three of the fields, and query a database on the host. The host will then return a TRUE or FALSE value. I will then use the true / false value, and if it's TRUE, I will confirm with a message box.


Now, what should I use? I thought maybe an Applet woudl work, but apparently I can't use an applet for this??? Do I need to use a Servelet?

I'm totally confused.

Someone please steer me in the right direction.


Thanks,

Todd
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

Either a JSP page or a servlet is probably the best choice. Let's move this question to that forum.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
 
Consider Paul's rocket mass heater.
 
subject: I'm really getting confused more and more...