> Hi, > > I'll try to rephrase me previous question. (I'm working with the > integrated Tomcat-Slide server from the binary dist) > > The docs say that a separate context is created for every > namespace. 'Slide' is a namespace configured in web.xml. So, a virtual > context will be created for it, right?
No, it's not done that way. You can add contexts by editing the conf/slide.xml file, and a Slide namespace will be associated to a webapp. > My question is, how do I add libraries and taglib definitions to such a > virtual context? In the default configuration, the path '/files' in the Slide namespace corresponds to the root of the Tomcat context. So if you upload a simple jsp, like snoop.jsp to /files/snoop.jsp using the WebDAV host on port 8080, you'll be able to run it normally by accessing http://127.0.0.1:8080/slide/snoop.jsp Similarly, you can upload a webapp deployment descriptor to '/files/WEB-INF/web.xml' (note that you'll have to create the 'WEB-INF' collection), and it will be read once you stop and start the context (either through the Tomcat manager webapp, or just by restarting the server). Web applications which do direct filesystem access to the webapp resources won't work, but those written according to Sun's recommendations (using ServletContext.getResource to access files, or only manipulating files directly when they are inside the work directory) should. Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
