Do you mean set emp_empname = '" + ename + not set emp_empname = '" + name +
Steve Darroch Sreenath V wrote: > dont use statements mam use preparedstatement as it will be faster ! > ----- Original Message ----- > From: "Vaishali S. Pandya" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 07, 2002 1:47 PM > Subject: help > > > if (mode.equals("1")){ > > String name=request.getParameter("ename"); > > String updqry="update hrm_employee_mas set emp_empname = '" + name + > > "' where emp_employee_no = " + emp; > > } > > > > > > ename is my input text > > i have some value in that but here always it gives me null in name. > > why > > > > > =========================================================================== > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > ------------------------------------------------------------------------ > Name: Wipro_Disclaimer.txt > Wipro_Disclaimer.txt Type: Plain Text (text/plain) > Encoding: 7bit =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com