user1872371
user1872371

Reputation: 341

Eclipse and Tomcat 7

So I have an application where users can upload their documents. The problem is every time I redeploy the application (using Eclipse) this folder gets overwritten by the contents from the workspace.

How do I tell Eclipse to ignore certain folders on deployment?

Upvotes: 1

Views: 74

Answers (1)

rai.skumar
rai.skumar

Reputation: 10667

Don't put data/content inside your application. Modify your logic to write documents to a path out of the application. like as :

   Application Path : C:\App\app.war

   Directory path : C:\App\documents

Upvotes: 1

Related Questions