This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I'm really getting confused more and more...
 
Similar Threads
logic:iterate problem: NullPointerException
showModelessWindow() in IE restricts javascript to applet communication
Why my application on Tomcat works only with localhost?
I'm really getting confused more and more...
Best way to report errors to the user?