String username=request.getParameter("username");
ResultSet rs=st.executeQuery("select * from regis where username='"+username+"'");
if(rs.next() ){
response.sendRedirect("register.jsp");
}
if username is existing the "register.jsp" page will redirect
but "register.jsp" page didnt hold anything which i have entered.
i want hold the values which i entered except username
so give me solution..