-
1. Re: Context path in tomcat4 hacked/fixed
adrian.brock Oct 2, 2002 9:36 AM (in response to humps)Post your patch at www.sf.net/projects/jboss
but post it as a diff to the original source
diff -u OldSource.java NewSource.java
or if you are in a CVS tree
cvs diff -u NewSource.java
See if you can't figure out the Jasper problem first
though. :-)
Regards,
Adrian -
2. Re: Context path in tomcat4 hacked/fixed
derry Oct 3, 2002 7:09 AM (in response to humps)Hello!
PLEASE don't mess around with these things.
You can deploy a war to a context-path "/" with following file called "jboss-web.xml" in WEB-INF:
<?xml version='1.0' encoding='UTF-8' ?>
<jboss-web>
<context-root>/</context-root>
</jboss-web>
You can set the virtual host your context should be bound to, too. See jboss-web_3_0.dtd for details...
So you see - there is no need for your patch.
CU
Thomas -
3. Re: Context path in tomcat4 hacked/fixed
r_q_d Oct 4, 2002 11:54 AM (in response to humps)Hi, Humps,
Which version are your classes work on? I tried it in the latest version: jboss-3.0.3_tomcat-4.1.12 it does not work. it complains that org.apache.catalina.util.xml.SaxContext and org.apache.catalina.util.xml.XmlAction do not exist. -
4. Re: Context path in tomcat4 hacked/fixed
humps Oct 4, 2002 1:08 PM (in response to humps)sorry, I should have said it earlier.... I'm only hacking on the older JBoss3.0/Tomcat4.0.3 ....
I'll have a look at the latest source code when I get my hands round them :)