954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Refresh Project

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?

OnnDay
Newbie Poster
2 posts since Apr 2011
Reputation Points: 10
Solved Threads: 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

OnnDay
Newbie Poster
2 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: