No concept of HTML. But it does have concept of parameters. When you submit a form, 
the form contents are placed in a parameter. (in ServletRequest)
There is no way that I know of to do the reverse, set those parameters on the response 
and it will apply to the form elements.
The browser stores the element values somewhere, just thought it might have been 
floating around somewhere I could get it.

I thought someone would know something I did not.

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 3:43 PM
To: Tomcat Users List
Subject: RE: Progamatically setting values of FORM elements



Hi,
No, the Servlet API has no concept of HTML.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Luc Foisy [mailto:[EMAIL PROTECTED]
>Sent: Friday, July 30, 2004 3:41 PM
>To: Tomcat Users List
>Subject: RE: Progamatically setting values of FORM elements
>
>From the responses, I am guessing there is not a way to do this with
only
>the Servlet API?
>
>I am not currently using struts and learning to use them, implementing
them
>at this time, I think would be too much of a headache.
>I'll have to find an alternate solution that fits into our own
framework.
>
>Thanks...
>
>-----Original Message-----
>From: Luc Foisy
>Sent: Friday, July 30, 2004 1:10 PM
>To: Tomcat User List (E-mail)
>Subject: Progamatically setting values of FORM elements
>
>
>Is there any way I can have my java set the values of FORM elements.
>Rather than storing the values in the java code and generating the
complete
>form element containing that value.
>
>Something like adding something to the response that will give that
item a
>value.
>
>For my particular need, I want to set a number of checkbox elements on
or
>off. I do have the ability to predict the element names...
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to