This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Context in server.xml

 
Nitin Kumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would like to know more about <Context> element in server.xml. Can we provide absolute value for path attribute of <Context> element. I am using standalone Tomcat and let my application be My_App. I keep this application in D: folder and not in webapps of Tomcat. So can I provide
<Context> path = "D:/My_App"

Now suppose I also put My_App under webapps along with previously mentioned one then which web.xml and struts-config.xml (If application uses struts framework) is reffered when application run. Please note that there is no war file.

It will be helpful if anyone can provide good learning source ( with examples) for Tomcat Configuration which provide detailed discussion of server.xml , web.xml and struts-config.xml

Regards
Nitin
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by NitinK Kumar:

It will be helpful if anyone can provide good learning source ( with examples) for Tomcat Configuration which provide detailed discussion of server.xml , web.xml and struts-config.xml


Here is the one I use most often:
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic