This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
i tried with servlet also. i created seperate file for database connections. still iam facing problem with insertion of checkbox values.
i can able to retrieve the values from database then i stored those values in checkbox. Now the checked values from checkbox should insert into db, here iam facing problem..First iam trying to display the checked values in out.println statement in new jsp page using request.getParameterValues("checkboxname"), but i cannot ablt to pass the values from first jsp page to second jsp page.. here is my code..first.jsp
Class.forName("org.gjt.mm.mysql.Driver"); con=DriverManager.getConnection("jdbc:mysql://192.168.1.201:3306/e_busticketing","root","password"); st = con.createStatement(); out.println("connected"); String sql="select seat_no from e_busticketing.seat_mast where bus_id=1001"; rs=st.executeQuery(sql);