| Author |
web.xml and class loader
|
Bill Goldsworthy
Greenhorn
Joined: Dec 21, 2004
Posts: 27
|
|
I'm trying to load a class when Tomcat starts up: my web.xml: The package and everything is OK I think because it was used elsewhere from the same location. It's being shared across webapps now and needs to be initialized beforehand. I'm getting this error but I receive text output in the console from the Foo class which is confusing to me. Any advice? Thanks Bill
|
Increasingly, people seem to misinterpret complexity as sophistication, which is baffling - the incomprehensible should cause suspicion rather than admiration. Possibly this trend results from a mistaken belief that using a somewhat mysterious device confers an aura of power on the user. Niklaus Wirth
|
 |
Bill Goldsworthy
Greenhorn
Joined: Dec 21, 2004
Posts: 27
|
|
Oh, forgot to post the simple servlet: Thanks! Bill
|
 |
Bill Goldsworthy
Greenhorn
Joined: Dec 21, 2004
Posts: 27
|
|
Figured out the problem after reviewing the difference between the shared/ folder and the common/ folder. After moving the class file for the servlet to common/ the issues were resolved.
|
 |
 |
|
|
subject: web.xml and class loader
|
|
|