tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From # Lalit Nagpal # <lalit_tom...@yahoo.com>
Subject HELP PLZ URGENT
Date Mon, 06 May 2002 14:27:09 GMT
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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message