File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes doPost problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "doPost problem" Watch "doPost problem" New topic

doPost problem

Vrunda Joshi
Ranch Hand

Joined: Dec 03, 2001
Posts: 104
i am providing file upload in my project.for that i have set
<form action="someservlet" ENCTYPE = "multipart/form-data" method="post">
however in my servlet, if i do request.getParameter("") it is giving me null values,
can anybody guide me on these lines
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
This has been discussed here seveal times. Search the forum for multipart/form-data.

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: doPost problem
It's not a secret anymore!