Hi i am new to this post,
I have some query regarding uploading of image using struts,we develop the
application using netbeans tool in linux.
My question is while we uplaod some image it got refelected in the database
but we are not able to view the image. Only after deploying the project in
netbeans it is been viewable.
The path that is got from
getServlet().getServletContext().getRealPath("")+"/" is --->
/root/Desktop/demouploadimg_localconn/build/web/LIC.jpg
Can any one rectify my problem please help me out.
with regards,
Periyasamy.
--
View this message in context:
http://www.nabble.com/Can%27t-view-the-image-after-uploading-the-image-in-netbeans-6.7-using-struts-1.3.8-%2B-hibernate-both-in-windows-and-linux-machine.-tp26021227p26021227.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]