0

Hi everyone. I'm using Tomcat 7.0.8

I have created servlet, which loads image to "webcontent\pic" folder of my project. Then I need to display this image.

The servlet works, but with only restriction: i need manually refresh content of project, or directory (I'm using Eclipse). Otherwise ugly cross will be shown instead of my image.

My question is: how can i force update project (or only one directory) in my servlet?

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by OnnDay
0

The problem has been solved by uploading picture not into the project, but into the corresponding to the project directory in tomcat's deeps

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.