Comments in xml can start anywhere on or above the line you want
commented out and end anywhere after. New lines are treated as
whitespace and have no meaning when parsed.
<!--
<Context .....>.....</Context>
-->
is just as valid as
<!-- <Context....>....</Context> -->
Comments can't be nested, but that's a whole different ball of wax.
--David
Rajesh Bagade wrote:
Comment for context should start from same line where context line starts.
It should be as follows
<!-- <Context path="" docBase="ROOT" debug="0"/> -->
--Rajesh Bagade
-----Original Message-----
From: Andreas Andersson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 5:33 PM
To: Tomcat Users List
Subject: Re: replacing ROOT
Rajesh Bagade wrote:
In server.xml just comment original root context entry, and write your new
context.
The weird think is that that context is already commented and has been
so since I installed tomcat. It looks like this.
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0"/>
-->
When are the xml-files from /webapps read?
--
Andreas Andersson
IT Dept.
Travelstart Nordic
[EMAIL PROTECTED]
http://www.travelstart.se
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005
--------------------------------------
iota technologies limited, pune, india
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]