This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where to put web.xml  RSS feed

 
Gaurav Chhabras
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made a simple JSP page using Tomcat and i want to do some configuration in web.xml and i put my JSP page in ROOT, so is the following path is the right place to put the web.xml and make out the configuration -:


C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\web.xml.

If the above path is not right place then please tell me the
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. ROOT is your application name.
 
Sachin Dimble
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gourav that's the default path for the web.xml no need to change it, though ur modifing it. Only restart the server to reflect the changes.

With Best Regards!
Sachin.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sachin Dimble:
Gourav that's the default path for the web.xml no need to change it, though ur modifing it. Only restart the server to reflect the changes.

With Best Regards!
Sachin.


When we are not using any IDE, we have to place files ourself at proper places...
 
Chidanand Chauhan
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rathi ji:


When we are not using any IDE, we have to place files ourself at proper places...


But we have to follow the convention used for coding.rather than placing the files in another path. Its bad convention to use somewhere else.
 
Robin Hook
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chidanand Chauhan:


But we have to follow the convention used for coding.rather than placing the files in another path. Its bad convention to use somewhere else.


Exactly i do agree with you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!