This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Related to context.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Related to context.xml" Watch "Related to context.xml" New topic
Author

Related to context.xml

pavan sharma
Greenhorn

Joined: Dec 19, 2006
Posts: 21
i want to reload all java class file in web-inf/classes/...
for that i know that there is context tag that we can place in context.xml file in meta-inf....

i did that.......but still there is no reloading of java class file...
i have to restart my tomcat server...

my tomcat5.5 structure.....

tomcat5.5 -->
bin,conf,webapps...

webapps -->
jsp-examples,servlets-examples,ROOT...
ROOT -->
WEB-INF,MyProjectName,.....

WEB-INF-->
classes,lib, and web.xml...

now context.xml is in conf directory

where should i kept..and where is meta-inf.....

is context.xml should be copied in meta-inf


please.........help........n reply soon

thanks
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Well, try to place your "MyProjectName" under "webapps" instead of ROOT.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Apache Tomcat Configuration Reference - The Context Container
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

pavanksharma,
Welcome to JavaRanch!

We're pleased to have you here with us, but there
are a few rules that need to be followed, and one is that proper names are
required. Please take a look at the
JavaRanch Naming Policy and
adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
GeeCON Prague 2014
 
subject: Related to context.xml