ihere i have 2 frames
f2 and f3
f2 has emp.jsp
save button is on f3
<input style="width: 80" type=button name=save value="Save" onclick="mysave
()">
function mysave(){
emp=parent.f2.document.femp.emp_no.value;
document.emp_smenu.action="emp.jsp?emp="+emp+"&mode=1";
document.emp_smenu.target="f2";
document.emp_smenu.submit();
}
i gave emp.jsp in my prev mail
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
===========================================================================
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