I am doing this in my code to launch Tomcat 5
host.install("", new URL(warFile));
Context context = host.findDeployedApp("");
((StandardContext)context).setWorkDir(workDir +
"/localhost");
((StandardContext)context).setDefaultWebXml("web.xml");
This results in
<?xml version='1.0' encoding='utf-8'?>
<Context defaultWebXml="web.xml"
docBase="/u02/embed/blog.war" path=""
workDir="/tmp/tomcat/localhost">
</Context>
But looking at the docs, at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/printer/context.html
only list the standard and common attributes. It is
not working the way I have it, so am I picking the
wrong API ?
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]