tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: wrapperClass usage
Date Thu, 15 May 2008 20:40:53 GMT
Brian E. Nicely wrote:
> What I've done so far is create a very simple servlet which prints hello 
> to the browser and I've written a wrapper class named MyWrapper which 
> extends StandardWrapper. The MyWrapper class just has a constructor 
> which is supposed to print out to the logs "I'm in the wrapper."  Also, 
> in this project, I edited the context.xml file to read <Context 
> wrapperClass="MyWrapper.java"/> and started up the Tomcat server.

That should be wrapperClass="must.include.the.package.MyWrapper"

> Can anyone tell me what I'm doing wrong?

I assume the compiled class has been JAR'd and placed in the 
CATALINA_HOME/lib directory.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message