Hy all,
i use the following code for displaying the image. i am sending the image file from the my HTML page...
the following code is working for the image having name without any space example like:-test1.jpeg, but the following code is not working when i send the image having name with space.. example like:- test data.jpeg, data d1.jpeg.
can anyone help me to solve the above problem...?
out.println("File has been uploaded successfully");
out.println("<html>");
out.println("<body>");
out.println("<table><tr><td width='210'></td><td> <img border=2 src=image/"+itemName.toString().trim()+" width=800 height=600></td></tr></table>");
out.println("</body>");
out.println("</html>");
Thanks
Yatin