| Author |
Run servlet class without using WEB-INF folder?
|
Bruce Jin
Ranch Hand
Joined: Sep 20, 2001
Posts: 666
|
|
I have servlet classes (not in jar file) in folder, say, C:\abc\xyz. Can I tell servlet engine to invoke these servlets? I know some old containers such as WebSphere 3.x allow me to do this. But with modern containers (e.g. tomcat 4.x) we always have to have a WEB-INF\classes folder to store the servlet classes. Is this true? Thanks.
|
BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design
Crazy Bikes created by m-Power
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
You are correct - the loose rules about running servlets have been greatly tightened up for the current API. The idea being to create a uniform environment for web applications that is independent of a particular vendor. Bill
|
Java Resources at www.wbrogden.com
|
 |
Bruce Jin
Ranch Hand
Joined: Sep 20, 2001
Posts: 666
|
|
|
Thanks Bill for the reply.
|
 |
 |
|
|
subject: Run servlet class without using WEB-INF folder?
|
|
|