On Mon, Jan 31, 2005 at 05:07:34PM -0000, micky none wrote: : I need to ask you guys that is it possible that I can move the : context details from my server.xml to web.xml.Like when i make a "war",i want : that i should specify the database url,driver,username,password etc. details : .Presently i have 2 contexts(one for alpha databse other for the live one)in : the server.xml file in the server.But i need these details in my web.xml.
You can do this, but not necessarily using web.xml. Search the Tomcat docs for "context.xml." The short version is that you store this in you WAR file. It contains settings for that context. context.xml is essentially a <Context/> element inside its own file. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
