You'd have to let your web app also be able to use the server classloader. You can do this by setting server="true" in the <Context> declaration.

That being said - whatever your trying to do is probably a very bad idea.

-Tim

Brij Naald wrote:
Hi,
i'm creating a filter which needs to know if the request is an instance of org.apache.catalina.connector.RequestFacade.


When executing the 'if (request instanceof RequestFacade)' the program gives an error for that line:

java.lang.NoClassDefFoundError: org/apache/catalina/connector/RequestFacade

I guess the RequestFacade is only in the classpath of the tomcat-server, and not in the one of the servlet itself.

Does anyone know how I can solve this problem?


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to