What is the error in this coding?

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









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 - Java Beginners
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...
error
Error-
error
error
error
Error
error
error
error
error!!!!!!!!!
error!!!!!!!!!
error!!!!!!!!!
Error
Error
Error
Error
error
error
what is the example of wifi in java
Codings - Java Beginners
auto update codings
PHP Trigger Error
error
error
error
error
error
JSP error
Error here
Error in JfreeChart
Jcommon error
Error in servlets
installation error
installation error
Error in JfreeChart
jsf error
error message
Permgen error
installation error
error log

Ads