1) check the name of the field in your html or jsp
2) if you are using jsp check if you have request.setAttribute("ename")
   if so your servlet needs to have request.getAttribute("ename").
   request.getParameter("ename") will be null.
Regards

Ramesh Kesavanarayanan
Electronic Data Systems India pvt Ltd

*  91-44-254 9650 ext :2442
*   91-44-226 5360 (res)
* [EMAIL PROTECTED]
* [EMAIL PROTECTED]




-----Original Message-----
From: Vaishali S. Pandya [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 June 2002 1:47 PM
To: [EMAIL PROTECTED]
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

===========================================================================
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

Reply via email to