Mr. x said:
Hello,
In server.xml - what tag is for the default directory, that my server is
running ?
Don't post the same question in more than one newsgroup. Most of the people
who can answer your question read both, and it's a waste of time.
If you want to change the root context, find this part of server.xml
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0"/>
-->
uncomment it, and change it. Better yet, leave it alone until you have a
good reason for wanting to change it.
Is there any free editor (or any editor) for the server.xml & web.xml.
Any text editor will do. Some of them will even turn the tags and
attributes different colors, and warn you if you've forgotten to close a
tag. I use JEdit.
I need some help/tutorial for the server.xml & web.xml files, please.
Have you read all of the descriptive comments in server.xml? Have you
examined the 'examples' webapp, and its web.xml, which also has comments?
Have you read the 'getting started' guide on the Tomcat home page? If you
ask specific questions, you'll get answers. What, exactly are you trying
to do, and where are you getting stuck?
The best reference for server.xml is the Servlet Specification, which also
explains exactly what Tomcat is required to do for you.