Do i need to put something in the action part of the form? And if so what else do i need to? Do i need to create another JSp file? [ April 15, 2005: Message edited by: Bear Bibeault ]
Paul Bourdeaux
Ranch Hand
Joined: May 24, 2004
Posts: 783
posted
0
Hi Reuben,
Wow, that is a lot of logic to be putting into a jsp page... Have you considered putting the database statements into a servlet and then forwarding back to the jsp page?
anyway, as far as you code, you still need to put in an action. Just point the action back at the jsp page you are writing.
Also, you may want to use a password field for the password instead of text... otherwise, it looks correct at first glance. Try deploying it and let me know if you et any errors.
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
Reuben Fields
Greenhorn
Joined: Apr 05, 2005
Posts: 15
posted
0
Class.forName("com.mysql.jdbc.Driver");
Does anyone know what is the exact name of the driver that i need for this, i think i goes in the web-inf folder aswell doesnt it?