File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Related to context.xml

pavan sharma

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 -->

webapps -->
ROOT -->

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 reply soon

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

Joined: Dec 11, 2004
Posts: 13410

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
I agree. Here's the link:
subject: Related to context.xml
It's not a secret anymore!