tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Luo <luoj...@yahoo.com>
Subject class loader question
Date Tue, 12 Apr 2005 20:15:11 GMT
Hello,

This is Judy.  I have a question regarding tomcat
class loader.  Now I am a server administrator. This
server is used to support the university teaching.  A
class of students use this server for their homework
and projects.  They write servlets and then put their
servlets in the shared directory of the server. 
Everybody puts files in the shared directory so that
it is a kind of mess.  Now I want every student to put
their own servlets in their own home directory.  To do
this, I think I need to create a context in the
server.xml file for each student so that the class
loader can automatically load the servlet class from
the student's home directory.  My question is: instead
of writing a context for every student,  is there any
way to write only one context, the class loader can
automatically load servlets for all students from
their own home directories?

Thanks a lot for your attention.  Any
suggesiton/comment is highly appreciated.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message