1
0
I have a jsp web application running on Ubuntu apache server. I take screen shot of different picture and save those in tmp folder of the server. Now I need to show this picture in my web application. How can I show picture in my application from tmp folder?
when I set image source src="/tmp/zzz.png" is not working.
You need to make
/tmp
accessible to apache. Is saving the screenshot somewhere else an option? – terdon – 2013-07-13T14:49:58.343Is there any way to move this picture from tmp folder to my web application folder programmtically? – tetrapack – 2013-07-13T15:44:34.383
Can't you chose where the screenshot is saved? – terdon – 2013-07-13T19:31:20.493
yes , I can choose the location like I could save my location like /var/lib/tomcat6/data/images folder but when I save /var/lib/tomcat6/data/images in this location it did not saved. I dont know the problem but I can save in /tmp/ folder. – tetrapack – 2013-07-13T22:44:43.420