Just like when you retrieve the values from your database, when the user clicks
update, you would then update the values in your database. Same code almost
but instead of doing a query you would do an update.
~Matt
Quoting tejas patel <[EMAIL PROTECTED]>:
>
> Hello,
>
> I am relative new to servlets. In my application my servlet connects to
> database and retrive all fields from database and display all information in
> HTML page. All the data is being diplayed in HTML form so now If I want to
> update this information how I would change the values when I submit this
> form.
>
> String projectid = request.getParameter("projectid");
>
> out.println("<form method=post action="update">");
>
> out.println("<input type=text name=projectid value="+projectid+");
>
> out.println("<input type=submit value="update">");
>
> 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