tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: adding servlet definition to context on the fly :Tomcat 5.5
Date Sun, 05 Oct 2008 08:55:20 GMT
Johnny Kewl wrote:
> I'd luv to see that code... the stuff you playing with is in Tomcat
> core... must have been difficult to debug... perhaps its an embedded app?
> 
> But I think this answers your question...
> 
>    public void addChild(Container child) {
> 
>        throw new IllegalStateException
>            (sm.getString("standardWrapper.notChild"));
> 
>    }
> 
>    is what addChild now looks like in 6... if they did allow it, now
> they dont (;

I don't know where you found that code but that isn't the
StandardContext.addChild() code for 6.0.x. Even if it was, the OP was
asking about 5.5.x, not 6.0.x

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