I want to create a login jsp form that connect with servlet and mysql for database. And I'm using netbeans and glassfishV2. Please help me to solve this problem.
izzet
0
Newbie Poster
Recommended Answers
Jump to PostNetbeans.org - Creating a Simple Web Application Using a MySQL Database
PS: Do not limit your self to selected tools, try others or try also tutorials that are not …
Jump to PostTo pardon_garden
ResultSet rs = s.executeQuery(sql); return (rs == null) ? null : rs;
First of all, this:
ResultSet rs = s.executeQuery(sql);
never returns nullAnd also this is very "not inteligent":
return (rs == null) ? null : rs;
If it is null …
All 6 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
pardon_garden
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
pardon_garden
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
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.