-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
>our site uses html form to capture data which is send to the servlet
>at the backend; our websrver is Apache and servlet support is through
>Apache Jserv...
>
>My questions are:
>when a visitior to our site uploads a file to our server through the HTML
><input name="myfile" type="file"> kind of tag;
>1. In my servlet how I can pull the file and save in my server
>2. How I can check it is a pure HTML (no malacious other type of programs)
>or pure image files like .jpg, .gif etc;
>I could check for the file extension but is there any better way to
>makesure these are pure .html, .jpg, .gif files and are not any malacious
>programs...
>
>I will highly apreciate your valuable suggestions...
>
>Many Thanks...
>(Durga Panda)...
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]