2009/2/5 Gregor Schneider <rc4...@googlemail.com>: >> Which I interpret that to have my servlet deployed (found?) I need to >> set up an XML file >> as per that web page at >> {}/conf/????/marge/atom.xml >> > > Nope, you don't have to. > > Within your webapp, create a folder "META-INF", and within this folder > create a file named "context.xml" > > An example: > > <?xml version='1.0' encoding='utf-8'?> > <Context> > <Resource > [.. put your ressource-defs here ] > </Context> > > Tomcat's deployer will do the rest and put that file into the correct > directory, after renaming the file to ${your_webapp_name}.xml
http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%20on%20Contexts mentions some of that. I note that Charles says I don't need this unless I need to define a realm or other resources. My aim is a restlet servlet (uses Jars in the atom/lib directory). I'll try based on http://tomcat.apache.org/tomcat-6.0-doc/config/context.html <aside> Is there a basic 'hello world' restlet that should just 'work' please</aside> > >> What's the engine name please? > > That's usually Catalina Thanks Gregor. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org