Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 220
  • Last Modified:

setting a directory as a toot in tomcat 5 (server xml)

hallo

Im am trying to setup a jsp file to view in tomcat 5 though my training tells me to set up a directory as a  root in tomcat

so i have the following:

<!-- AutoSetup for AuctionStation-->
<Context path=”” docBase=”webapps/AuctionStation” debug=”0”
reloadable=”true” >
</Context>

where do I set this up? in my training it says set it up in my context manager in the SERVER XML file but I cannot find it

could anyone assist me please

what must I do?

r
0
rutgermons
Asked:
rutgermons
  • 2
1 Solution
 
rrzCommented:
What version of Tomcat are using   5.0 ?  
Anyway, I think the following will work,  in the folder
yourTomcatHome\conf\Catalina\localhost  
you should see some xml files already there with the form you need to follow.
Create a new file called  AuctionStation.xml  and put  the context element into it.  Then restart Tomcat.
0
 
kaliyugkaarjunCommented:
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now