hi JSP/Java gurus,
It seems ironical that sun's api doesn't have a method to retrieve
Multipart-form data ....or am I wrong???
I want to retrieve from a HTML-form..multipart data...that is
name,age,particulars etc..along with a Photo(thru file upload).
For Photo,I need to retrieve file contents and store in a file.
Earlier,I had developed a similar soln in Perl...in which retrieving
the FileType(using $f=$query->filname;) directly gives a file pointer(to
Remote File) which can be used for reading File Content(just like a local
file) and write to another file.
Does servlet API have any such methods?? Or atleast IS THERE ANYWAY
OF DOING THIS--retrieving both File and Form data from Single HTML form??
Can anybody pls throw light on this,
Regards
Deeps
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets