Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Related to context.xml

 
pavan sharma
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, try to place your "MyProjectName" under "webapps" instead of ROOT.
 
Adeel Ansari
Ranch Hand
Posts: 2874
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!