here's my file calling for the database... anything wrong with it? login.html:
My Login Form Login <table border=0 align="left"> Username: Password: login2.jsp: <%@ page import = "javax.servlet.http.*, java.sql.*" try { Statement Stmt = Conn.createStatement(); thisStatement = "SELECT Username, Password FROM Users WHERE Username = request.getParameter("name"), Password = request.getParameter("pass")"; // get the form variable String username2 = request.getParameter("name"); String password2 = request.getParameter("pass"); // create a session session.putValue("username2", username); // set a timeout period session.setMaxInactiveInterval(180); } catch (SQLException E) { out.println("<b style=\"color: red;\">No such record"); } %> <basefont face="Arial" Thank you for using this service. Click <a href=rootshell.jsp>here for root access View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822492#3822492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822492 ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user