- <%
- try
- {
- String n=request.getParameter("name");
- String u=request.getParameter("uname");
- String p=request.getParameter("pwd");
- String y=request.getParameter("Year");
- String g=request.getParameter("Gender");
- String e=request.getParameter("EmailID");
- String c=request.getParameter("Moblie");
- String a=request.getParameter("Address");
- Connection con=DriverManager.getConnection("jdbc:odbc:uinfo; uid=System; pwd=tandon");
- Statement st=con.createStatement();
- ResultSet rs=st.executeQuery("insert into uinfo values(‘"+n+"’,’"+u+"’,’"+p+"’,’"+y+"’,’"+g+"’,’"+e+"’,’"+c+"’,’"+a+"’);");
- if(rs.next())
- {
- %> <jsp:forward page="U_Login.jsp" /> <%
- }
- else
- {
- out.println("please retry");
- %><br><br> <a href="http://bytes.com/SignUp.jsp">Back to Home</a> <%
- }
- con.close();
- }
- catch(Exception e)
- {
- out.println(e);
- }
- %>
xmlns=”http://www.w3.org/1999/xhtml” dir=”ltr” lang=”en”>
/**
* Bytes CSS
* Style: ‘bytes.answers’; Style ID: 18
*/
@import url(“/clientscript/vbulletin_css/style-12635a82-00018.css”);
Error: ResultSet was not produced
|
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘UA-90111-7’, ‘bytes.com’);
ga(‘send’, ‘pageview’);
loadBytesTracking()
//0){location.replace(‘https://bytes.com/showthread.php?p=’+cpostno);};} }
if(typeof window.orig_onload == “function”) window.orig_onload();
}
//]]>