How to display HTML data from database?

Validation of data before entering into the database by using servlet and ejb.Data is coming from html page.?

  • I hava 5 attributes (i.e part no, level, type, frequency,granularity)in my html page,each attribute having combo box.In combo box I hava options for each attribute to select(one at a time).I m getting these parameters in servlet class.Then I have to develop a validator class.Which will validate the data whether it is already in database or not.If its already there then it must send a message to subscriber that it is already there.If not then store this subscription in the database and again send the success message to subscriber.validator class should be able to do any general validation also what is required and could be done to make program more functional.

  • Answer:

    I can recommend using AJAX and Javascript for client side validation and then send to your server

SAN B at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.