row.createCell((short)1).setCellValue(rst.getInt(1));//write according to ur column datatype row.createCell((short)2).setCellValue(rst.getString(2));//write according to ur cloumn datatype. //write the same command for how many columns u want to save in excel row.createCell((short)3).setCellValue(true);
FileOutputStream fileOut = new FileOutputStream ("c:\\excel\\Data.xls"); wb.write(fileOut); fileOut.close(); }catch ( Exception ex ){ } %> <br> <b>The Data is saved to Excel</b> </form> </bodY> </html>
RAJ9992
Servlet sending image hiiii
In my html page i use how to send this image value to servlet plz be inform me anybody
RAJ9992
Send Image Value to Servlet hiiii
In my html page i use input type=image src="" value="" name="" how to send this image value to servlet plz be inform me anybody
login data
login data Hiiii Sir
I am doing banking project on Asp.net
i have created database on sql and also created a connection to gui but m not getting the data after login i want to show particular data for particular user
means
login data
login data Hiiii Sir I am doing banking project on Asp.net i have created database on sql and also created a connection to gui but m not getting the data after login i want to show particular data for particular user means if i
error in accessing database - JSP-Servlet
error in accessing database hiiii im tanushri im tryng to connect my database to the servlet i hv succeeded in connectivity but im stuck to nother error called Got minus one from read call although i hv feeded data to my
error got minus one from read call - JSP-Servlet
error got minus one from read call hiiii while connecting my servlet to database im getting error called
java.sql.SQLException: Io exception: Got minus one from a read call
oracle.jdbc.dbaccess.DBError.throwSqlException