You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:
have access to post topics
communicate privately with other members (PM)
not see advertisements between posts
have the possibility to earn one of our surprises if you are an active member
access many other special features that will be introduced later.
I am doing a web application and user enter 2 data in form
I need to compare this data with a data base in MySql, if they are correct, I'll show the rest of the information
and that is
can you help me?
Hi,
put the data from the form to the Business layer. In the action calls an object from the Business layer that do the validation in the data layer(JDBC o ORM) compare them and then you can send the message to the page that you need.
bbq
it's easy
1) Get the data from the fields
2) do a query to the data base
3) compare the value from the data base with the value of the field
4)Do an If sentence.