hello everyone
I still need code snippet help with authentication of username and password on both java and web application..
tactfulsaint
0
Junior Poster in Training
Recommended Answers
Jump to PostThe code will be the same. It doesn't matter for what you are going to use it. I will post the code soon, after I finish some other issues I have.
Jump to PostInside a class declare the variable:
Connection conn=null;
In the same class:
Method for opening connection. Uses the myssql driver. download the jar and add it to the jars of your project
protected void openConnection() throws Exception { if ((conn==null)||(conn.isClosed())) { String ip …
Jump to PostAmazing, This code is really helpful.
All 9 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
tactfulsaint
0
Junior Poster in Training
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
Alex Edwards
commented:
Very nice post!
+2
peter_budo
commented:
Nice post.
+9
ChaseVoid
30
Junior Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
tactfulsaint
0
Junior Poster in Training
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
tactfulsaint
0
Junior Poster in Training
~s.o.s~
2,560
Failure as a human
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.