Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interview question

 
Saurabh Saha
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Interviewer asked me a question that can we put a class file outside the WEB-INF folder in the tomcat. Please tell me is it possible or not

Thanks
Vivek
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ben,

Care to expand a bit on this point?

Thanks in advance...

Cheers,
Swamy
 
Ray Stojonic
Ranch Hand
Posts: 326
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can place class files that are used in one or more applications in either: CATALINA_HOME/common/classes, or CATALINA_HOME/shared/classes
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ramaswamy Srinivasan:
Hi Ben,
Care to expand a bit on this point?
Thanks in advance...
Cheers,
Swamy


Yes.
In order to obtain a full working knowledge of classloading issues in Tomcat which is apparently what this employer was looking for in prospective employees, one should read all the documentation provided with Tomcat pertaining to classloading.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic