html-servlet
Hi,
i 'm sending one html file to servletlike
<body>
<form action="goToCtrl">
<img name="imgone" src=" somepath " alt=""/>
<input type="submit"/>
</form>
</body>
and at server side in Servlet i want to get the image.
how can i get the image .
any sample code or links plz
[505 byte] By [
veerjaa] at [2007-11-26 14:54:39]

Hi,Get the image object from the request.getParameter() method, typecast it to a java.io.file object and process it what ever way u want, u can also get the stream from the file object.-GS
> we can not type cast to File from
> request.getParameter();
No of course not don't be silly.
PLEASE RETURN TO YOUR CROSS POST WHERE YOUR QUESTION HAS ALREADY BEEN ANSWERED IN DETAIL WITH CODE SAMPLES
http://forum.java.sun.com/thread.jspa?threadID=5123590
> maybe this person does not want to use common's
> package
Judging from his posts so far the main problem is that he's just an idiot. You were right to post a link to the previous thread because he already had this question answered. If the answer was lacking then he should address it in that thread. Most likely though he hasn't even bothered to check that thread for replies yet.