Originally posted by bhagya raavi:
cood afternoon sir
i stored student information with fields sid,sname,fname,address,age in mysql databae.
if i give the sid of a student
it has to check whether it present or not in the database,if so it has to give that student information.
please help me how write this condition in a jsp
We believe in self help here
, so just a couple of hints:
1.) Read up on how to use the sql package and/or sql tag libraries in JSP (plenty of tutorials and code samples out there, just Google it).
2.) Read up on how to take the result of that query and put it into a bean that your page can use (again plenty of tutorials out there).
Cheers,
Martijn