Hi
i want to implement one servlet where first i want add a user to the database and later when he logged again i need to check that whether he is already existed or not?if he is not existed i need to add those details to the database... can any one help me in this.....?
mahaboob Basha
0
Light Poster
Recommended Answers
Jump to PostHi
i want to implement one servlet where first i want add a user to the database and later when he logged again i need to check that whether he is already existed or not?if he is not existed i need to add those details to the database... can any …
Jump to PostI hate to break it to you mahaboob Basha but this is not the right way to do this thing.
Firstly you need to put DB functionality out of the Servlet.
Secondly Servlets are hardly used for generating GUI. (Use JSP)
All 6 Replies
stultuske
1,116
Posting Maven
Featured Poster
mahaboob Basha
0
Light Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
stultuske
1,116
Posting Maven
Featured Poster
mahaboob Basha
0
Light Poster
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.