Thanks for the info.... I'll definitely give it a go.
----- Original Message -----
From: Nic Ferrier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 24, 1999 9:27 AM
Subject: Re: Post Statement from JS
> >>> Antonio Villafana <[EMAIL PROTECTED]> 9/24/99 1:33:55
> PM >>>
>
>
> >Here is the scenario.... I would like to store the information
> >from a POST statement passed to my servlet from a
> >JavaScript (.js) file.
>
> Okay...
>
> >The .js file collects all relevant 'name=value' pairs
> >from .html pages and puts them into a long string, e.g.
>
> Why on earth do you do this?
>
> Can't you just have the name=value pairs in an HTML form? (in hidden
> fields if you must)
>
> >How do I parse this POST, and store the info in an
> >Oracle DB. Or, if you know how to just parse it and
> >send it to the screen, with one or two name pair
> >per line, that would be very helpful as well.
>
> If you POST it like a form the servlet engine will decode it for
> you.
>
> Just use getParameter calls.
>
>
> Nic
>
>
___________________________________________________________________________
> 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