I have made an html page through which the user can browse a file on his local machine and submit to a servlet. But, now i am stuck, at the point as to how i will get the file as data in my servlet ? .... i tried to google for file upload servlets, but majority of the links talked about MIME parsers, Multipart handlers, readymade servlets etc., ...but no where i got information on the very basic way of accessing the file data that the servlet will receive in request...how it can be used? ....how to access the file data? ....how to know the type of file being uploaded? .... how to know the size of the file being uploaded....etc.,
Please someone help me by guiding the very basics of this concept....file uploading and servlets
Million thanks in advance
Thanks and Regards
Omkar Patkar (SCJP 1.4)[url]http://javacollectionsnotes.blogspot.com[/url] | [url]http://omkar-myscjpexp.blogspot.com[/url]
Thank you Bear...but the FAQ also talks about ready made libraries to be used. I want to know what exactly are the problems that can be faced by developers who develop servlets...for such purposes. May be i can re-invent the wheel! ...
Where can i get the detail information at the most basic level ?...pls ?