hi!
what's exactly you rpoblem?
you want to get the values that changed and update your database?
you can get all values with sth. like:
Enumeration paraNames = request.getParameterNames();
while (paraNames.hasMoreElements()) {
String paraName = paraNames.nextElements().toString();
String newVal = request.getParameter(paraName);
}
to update the values in your database please see the JDBC section in the
Java Tutorial and the docs for the java.sql package.
maybe you need to clarify your question.
-mw
At 07:32 20.03.2002 -0800, you wrote:
>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