This should work fine.
However, unless you are using prepared statements you will have to do some
input checking for special characters that might interfere with your query
(such as a quote mark) or that others may use as a security breach into your
database.
Matt
Quoting tejas patel <[EMAIL PROTECTED]>:
>
> Hello Mark,
> but when I change text in textfield will it take new value because I am
> displaying values in textfield form Req.getParameter( ) method.
> like if i retrieve projectid from database, I display in html form text
> field. now if i change this value will it take new value when I submit my
> form.
> >
> > out.println(" [input] >
> > out.println(" [input] ");
> >
> > So how I can send updated values via form when user clicks on update
> >
> >
> >
> > thanks
> >
> > tejas
> >
> >
> >
> > ---------------------------------
> > Do You Yahoo!?
> > Yahoo! Sports - live college hoops coverage
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>
>
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html