Computing.Net > Forums > Web Development > Having issue with multipart/form-data in jsp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Having issue with multipart/form-data in jsp

Reply to Message Icon

Name: vids10
Date: June 25, 2009 at 22:05:56 Pacific
OS: Windows XP
Subcategory: HTML
Comment:

Hi all,

I am very new to jsp. In my jsp, I am trying to use "multipart/form-data" in my form. When I use
<FORM name="form1"
action="\test.jsp"
enctype="multipart/form-data"
method="POST">

I can not get the form data. Form data has value null. If I remove multipart/form-data, I can capture all the form data. But I can not remove "multipart/form-data" since I need
to have file upload in my form. Can anyone please tell me what's happening here and IF I can have both - enctype="multipart/form-data" in the form AND access all the form data.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Having issue with multipart/form-data in jsp

jsp & form multipart/form-data www.computing.net/answers/webdevel/jsp-amp-form-multipartformdata-/2682.html

Converting form data into email www.computing.net/answers/webdevel/converting-form-data-into-email-/1712.html

JSP MultipartRequest www.computing.net/answers/webdevel/jsp-multipartrequest/3368.html