Hi,
I have a form and I would like to be able to touch all the input (or text,
tags, etc.), including links or any other text by parsing the page - is this
at all possible? For example, if I have a href on the page, I want to be
able to tell what it is. I can get the form fields, etc. I have tried the
following, but nothing seems to come thru. Anyone have any pointers on this.
I'm using this in doPost().
if (req.getContentLength() > 0)
{
try
{
java.io.BufferedReader br = req.getReader();
String line = null;
while((line = br.readLine()) != null)
{
log("line = " + line + "\n");
}
}
catch (IllegalStateException e)
{
log("IllegalStateException for getting BufferedReader");
}
}
Thanks,
Gary
___________________________________________________________________________
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