tomcat5.0.19, how to deploy their own virtual directory?

Category: Web Develop
 
lta1023
2013-08-20 04:42:25

Sponsored Links
I installed tomcat5.0.19, how to deploy their own virtual directory?

Previously 4.0, I know deployment methods:
the conf directory server.xml configuration change, < ; Context path = "/ demo / test" docBase = "G: \ jb \ demo \ test" debug = "0" reloadable = "true" crossContext = "true" ; />

again in the browser, enter:
http://localhost:8080/demo/test/index.jsp page appear normal.

But to 5.0.19, and I can not find in the server.xml file context that one.

Sponsored Links

yxrysu
2013-08-20 04:46:39
the same, can be added according to .

But tomcat5 li recommended \ conf \ Catalina \ localhost directory settings,
Reference:
myweb.xml

<Context path = "/ myweb" docBase = "myweb" debug = "5" reloadable = "true" crossContext = "true">
</Context>
baobao1126
2013-08-20 04:56:24
As in
<host>
</host>
intermediate added
<Context path = "/ myweb" docBase = " ; myweb "debug =" 5 "reloadable =" true "crossContext =" true ">
</Context>

or the \ conf \ Catalina \ localhost \ directory
a copy of the document, and then they need to change it.
asdgsdgegh
2013-08-20 05:11:42
conf \ Catalina \ localhost <host> and </host> between

<Context path = "/ myweb" docBase = "myweb" debug = "5" reloadable = "true" crossContext = "true">
</Context>
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.