Title: Messaggio
Use <form method=post action=aservlet>
in the use : projectif=request.getparameter("projectid"); .......
Rinaldo
-----Messaggio originale-----
Da: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]] Per conto di tejas patel
Inviato: mercoled� 20 marzo 2002 16.33
A: [EMAIL PROTECTED]
Oggetto:

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

Reply via email to