• Post Reply Bookmark Topic Watch Topic
  • New Topic

Application classpath  RSS feed

 
Roel De Nijs
Sheriff
Posts: 11333
177
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to place an xml-file under my application classpath. But where can i find this class path ? And i think it's the %tomcat_home%/webapps/MyWebApp/WEB-INF/classes or tomcat_home%/webapps/MyWebApp/WEB-INF/lib directory. But just to make sure (because it's not working): is this correct ?

Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need the getRealPath method in ServletContext.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!