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
Related Q & A:
- How to dispaly HTML page in Silverlight application?Best solution by devproconnections.com
- How to debug an HTML page on mobile?Best solution by msdn.microsoft.com
- How can we reload html page without blinking?Best solution by Stack Overflow
- how can I listen for database changes using java?Best solution by Stack Overflow
- how to show data in textview from sqlite database in android?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.