This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
For every web application there will be one Context entry in server.xml.
value of the path attribute is used in URL when you access the servlet.
reloadable=true says that any change will be loaded without restart of server.
docBase will be the path of the WAR file of your web application project.
Maciej Drodel wrote:you're not answering my question, maybe i didn't make myself clear.
eclipse adds the source attribute and it's not in tomcat's docs.
what is that attribute? where do i find docs for such attributes, which are not specified by tomcat, but added by eclipse?
This appears to be something contributed by the WTP plugin - which for the record, I don't like (I use the sysdeo plugin). Your best bet would be to lookup the docs on WTP.
On the other hand, I don't believe it's really worthwhile learning WPT's internal contributions to Tomcat config. They're totally useless anywhere but in WTP, and that especially means they're no good for production. And since one of the reasons I despise WTP so whole-heartedly is because it plays fast and loose with Tomcat configuration to begin with, you'll pardon me if I wouldn't consider these sort of extensions to have long-term viability.
An IDE is no substitute for an Intelligent Developer.
I think it stands for something like "Web Toolkit Plugin". Most of the documentation is probably lurking somewhere on the eclipse.org website and you'll probably have to squirrel-search for it, since I don't recall the eclipse.org search engine as posing any serious threat to Google.