urandie (?):

The normal single part post or get cycle within a servlet breaks down the
posted header parameters, or the referer type get parameters automatically.
With a multi-part, you have to do more work, as it does not know immediately
which part to parse for the parameters.  This is not all that difficult, but
a little
guideance is always helpfull.  Apache has struts tools for doing this
easily, but
if you are coding the Servlet by hand, you may wish to search GOOGLE.com
for Servlet Multipart or Java Multipart and see what links you get.

One of my favorite sites for HTTP/HTML/Javascript type issues and code
examples is www.webreference.com

----- Original Message -----
From: randie ursal <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 20, 2003 6:00 AM
Subject: passing data in multipart/form-data


> hi lists,
>
>    I have a form that would submit data to a servlet. i'm confused why
> a hidden field could not be retreive on my servlet the parameter would
> return a null value. Is it because of this declaration on the form tag
> ENCTYPE="multipart/form-data"?
>
>    I was able to retrieve hidden field when the enctype is not multipart.
> Could you show me how to retrieve hidden fields in "multipart/form-data"
> forms.
>
>
> thanks a lot.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to