Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |