This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hi friends, can anyone tell me what is the function of following lines in servlet?what is the difference between prepareStatement,PreparedStatement? Connection con; PreparedStatement pstmt=null; query="select emp_fname, emp_lname, address, dept, age, desig from Employee_master where emp_id=?";
pstmt=con.prepareStatement(query); pstmt.setInt(1,Integer.parseInt(req.getParameter("emp_id"))); [ March 02, 2007: Message edited by: vijay joseph ]