File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying image in struts

 
win llen
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a program that would copy images to the Resources/images folder of the server and display it in the jsp page. I used DownloadAction to display the images following this link webpage

My problem now is that the images will not be reflected in the folder until I manually refresh the folder. Copying of image works fine but my jsp cant display it because it is not reflected in the resources/images folder.

When i open the folder from windows explorer the images are there. but they are not present in the Projects window of netbeans until I refresh the folder manually.

Anyone could help?


Thanks.
 
Ankit Garg
Sheriff
Posts: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm a little confused here. Whether Netbeans displays a file or not should not effect displaying of the file in the JSP. Where are you actually copying the files?? Is it in the project folder of Netbeans or in the folder which is actually deployed on the server (like in Netbeans the build folder in the project structure is deployed on the server)??
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic