Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation problem using jsp,servlets,ms-access db

 
shiju nair
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks in advance,please help me. I am working on a project wherein for now i have to prepare a login page which is to be validated with the .I know to code the database connectivity and validation in jsp but if i use a servlet for db connection and validation,i dont know how to give link to the particular servlet page through jsp as well as to get the parameters from servlets and how to use it in other jsp as well.servlet for connecivity is given below




This is the code in
 
Syednizar Kamal
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use RequestDispatcher to forward to that particular jsp
 
shiju nair
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
along with this code can i do the validation also in the servlet.please suggest me.if possible give me a clear view as to how to do it.
thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic