get form data with method="post" and enctype="multipart/form-data"

1.) I need to use "method=post" because there is too much data to include in a URL for the get method
2.) Someone said that with "enctype=multipart/form-data" that JSP/servlets do not support the use of .getParameter() or that I need to "decode the request to get at the parameters and contents" of the form
3.) I would really like to use the com.oreilly.servlet package since I already got it to work and it is so simple.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can use MultipartRequest class of com.oreilly.servlet package and call getParameter(java.lang.String name) method on it.
See for reference.

Solution A:

1. download
2. invoke getParameters() on com.oreilly.servlet.MultipartRequest

Solution B:

1. download
2. invoke readHeaders() in

Solution C:

1. download
2. invoke getParameter on

Solution D:

Use Struts. Struts 1.1 handles this automatically.

for more info;

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I think ysnky posted a detailed solution to this question. Can we know why this question is deleted. Has the asker found the solution by his own. Please advise.
Force accepted.
Community Support Moderator
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.