File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes jsp polling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

jsp polling

kanan devi

Joined: Oct 27, 2008
Posts: 9
i tried following code but it is not working

Connection conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://database:1433","sa","123");
Statement st2=conn.createStatement();
String sql1 = "INSERT INTO tab.dbo.poll (a) VALUES ('"+radioVal+"')";
Statement st1=conn.createStatement();
catch(Exception ex)
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Duplicate post.
wood burning stoves
subject: jsp polling
Similar Threads
jdbc problem problem problem
How must i "synchronize" my servlets?
polling in jsp
java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected
Error while inserting data into from a JSP Page