| Author |
Interview question
|
Saurabh Saha
Ranch Hand
Joined: Dec 08, 2004
Posts: 52
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html will tell you all about classloading in Tomcat.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Ramaswamy Srinivasan
Ranch Hand
Joined: Aug 31, 2004
Posts: 295
|
|
Hi Ben, Care to expand a bit on this point? Thanks in advance... Cheers, Swamy
|
 |
Ray Stojonic
Ranch Hand
Joined: Aug 08, 2003
Posts: 326
|
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
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.
|
 |
 |
|
|
subject: Interview question
|
|
|