Thanks for the reply.
 
My application uses tomcat 4.0.3. the webapps/hst/htdocs is the app directory. 
I have used ants war task to create a war file hst.war. when i deploy this to 
unix box it is creating the whole directory correctly. However is setting the 
context to /hst instead of /hst/htdocs.
how can i change this or where can i change this.
 
server.xml
---------------------------------------------------------------------------------------------
Host name="localhost" debug="0" appBase="webapps" 
errorReportValveClass="org.apache.catalina.valves.HstErrorReportValve" 
unpackWARs="true">
      <Context path="" docBase="hst/htdocs" debug="0"/>
      <Realm className="org.apache.catalina.realm.HstJDBCRealm" debug="99"
 driverName="oracle.jdbc.driver.OracleDriver"
--------------------------------------------------------------------------------------------
 
 

Julie Moore <[EMAIL PROTECTED]> wrote:
I believe this is new to tomcat 5 in the past the context was in the
server.xml

-----Original Message-----
From: bachoo jahnkar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 01, 2005 1:07 PM
To: tomcat-user@jakarta.apache.org
Subject: context.xml

Hi,

Can context.xml be used with tomcat 4.0.3? If yes can anyone please tell
me what the contents should be for it and how to invoke it using the
"METAINF" attribute of ant WAR task?


thanks.


---------------------------------
Start your day with Yahoo! - make it your home page 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to