Hi Jim,

[...]

> can you point me to some code on how to do this. This maybe 
> complicated by the fact that I am using the ServerServlet.

This indeed complicates the situation. You could create a subclass of
ServerServlet, overriding the createComponent() method to get control on the
component and the attached application.

As a VirtualHost is also a Router, you could attach the temporary
application using the myComponent.getDefaultHost().attachDefault(app1).
Then, once the real application is ready, attach it normally using
myComponent.getDefaultHost().attach(app2).

Then app2 should be matched before app1 and take over the processing of new
requests. Hope this helps...

Best regards,
Jerome  

Reply via email to