%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %> <%@ page import= "java.sql.*" %> <%@ page import= "java.sql.*" %> <% String name = (String)session.getAttribute("name"); String aname = (String)session.getAttribute("username"); String password = (String)session.getAttribute("password"); Connection con; ResultSet rs; Statement st; if(name ==null && aname==null && password ==null) { response.sendRedirect("index.jsp"); } else{ try{ Class.forName("com.mysql.jdbc.Driver").newInstance(); con = DriverManager.getConnection("jdbc:mysql://localhost/iitDB","root","91don699629"); st=con.createStatement(); %>
|
User Detail succesfully updated <% } %>
|
||