Here's an HTML snippet of a test page that we've used successfully.  The
DoPost method of course needs to parse the input string once it arrives.

<FORM name=dirassist action=http://localhost:8080/servlet/.... method=post>
<TEXTAREA name=xmlmsg rows=7 cols=50>
<?xml version="1.0"?>
<da_req>
   <mdn test="1">9137944670</mdn>
</da_req>
</TEXTAREA><BR><INPUT type=submit value="Standard Request"></FORM>

-----Original Message-----
From: Venkatesan Krishnamoorthy [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 3:00 PM
To: [EMAIL PROTECTED]
Subject: Problem posting XML string


Hi,
   I am trying to post an XML string from a form using a text box. The
action servlet curiously doesn't seem to pick up the string. HttpRequest is
returning a null. I am suspecting that it might be due to the XML format of
the string (that is "<" and ">" symbols and other XML params). I am
wondering if some one has attempted a similar thing and got it working.
Please let me know. Thanks.

Venki

___________________________________________________________________________
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

___________________________________________________________________________
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

Reply via email to