This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Where to put web.xml  RSS feed

 
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
 
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. ROOT is your application name.
 
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...
 
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.
 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!