jQuery in Action, 2nd edition
The moose likes Servlets and the fly likes enctype Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "enctype" Watch "enctype" New topic
Author

enctype

visu Nekk
Ranch Hand

Joined: Sep 06, 2005
Posts: 122
when i am using enctype="multipart/form-data" i am unable to get the values using request.getParameter().but request.getParameter() works fine when i am not using enctype.can anyone help me regarding this topic
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Yes, look at the documentation for the upload library you are using.
You will need to use the methods it provides in order to retrieve your form parameters.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: enctype
 
Similar Threads
ENCTYPE='multipart/form-data and request.getParameter
please help me
How to get the request parameters while the enctype is multipart/form-data
question about ENCTYPE="multipart/form-data" page
request.getParameter()