You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by # Lalit Nagpal # <la...@yahoo.com> on 2002/05/06 16:27:09 UTC

HELP PLZ URGENT

i use the
MultipartRequest class getParameter function to
receive html form data apart from the files which
are uploaded too. i do not know why i get the error
saying "posted content type is not multi part form
data". when i upload files with this servlet
without any <INPUT type="text" data upload works fine.
when i try to get other fields alongwith the
<INPUT type="file" at the server end file upload
does not work. plz help. i want to receive both
textual data typed by the user and a file attached by
the user at the server from a single form. but when
i try to do this i get "content type is not
multipart form-data" error. someone plz help
urgent.

I HAVE ALREADY SET <input type="file"
ENCTYPE="multipart/form-data" method="post"
action="<servlet>">. so that is not the problem

thanx a lot

=====
# Lalit Nagpal #

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>