What is the error in this coding?

Ads
 

What is the error in this coding?

<% Class.forName("com.ibm.db2.jcc.DB2Driver"); System.out.println("driver loaded sucesssssssssssssssssss"); Connection Conn=DriverManager.getConnection("jdbc:db2://localhost:50000/VOTERS","db2admin","friends"); String Login_name=request.getParameter("Login Id"); String Password_id=request.getParameter("Password"); PreparedStatement Stmt=Conn.prepareStatement("SELECT NAME FROM
LOGINDETAILS WHERE LOGIN ID='"+Loginname+"' AND PASSWORD='"+Password_id+"'"); System.out.println("Statement loaded sucesssssssssssssssssss"); Stmt.executeQuery(); ResultSet rs=Stmt.getResultSet(); System.out.println("query execute loaded sucesssssssssssssssssss"); String name= null; while(rs.next()) { Login=rs.getString(1); } rs.close();Stmt.close();Conn.close(); if(name != null) out.println("Welcome to "+login); else out.println("Please check your Login Id and Password..."); %>

View Answers

Ads









Related Tutorials/Questions & Answers:
Is this correct???what are the unnessasary codings here??
plz check my codings are correct or not...There is an error..i cant find it..
Advertisements
What is a stack overflow error?
what kind of error
What is the error in this coding?
what is the resolution for the bellow error?
what error in this program plese correct it
403 Forbidden error - What is 403 Forbidden error, please explain...
403 Forbidden error - What is 403 Forbidden error, please explain...
what is the example of wifi in java
Error-
error
error
error
Error
error
error
error!!!!!!!!!
error!!!!!!!!!
error!!!!!!!!!
Error
Error
Error
Error
error
auto update codings
JSP error
Jcommon error
Error in servlets
jsf error
Error here

Ads