yes, this works out of the box, without any changes to any config files

Filip

Manca Davide wrote:
Hello,

I have a problem using jsp on tomcat 6 + jdk 6. I have some jsp under a
webapp. I want to Tomcat recompile them into .class files without
restarting.

I already tried these:

In context.xml

<!-- The contents of this file will be loaded for each web application
-->

<Context reloadable="true" privileged="true"
antiResourceLocking="false">

    <!-- Default set of monitored resources -->

    <WatchedResource>WEB-INF/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat
restarts -->

    <!--

    <Manager pathname="" />

    -->

    <!-- Uncomment this to enable Comet connection tacking (provides
events

         on session expiration as well as webapp lifecycle) -->

    <!--

    <Valve
className="org.apache.catalina.valves.CometConnectionManagerValve" />

    -->

</Context>

In server.xml:

<Host name="mysite.net"
appBase="/store1/www-dev/mysite.net/doc_root/webapps"

            unpackWARs="true" autoDeploy="true" deployOnStartup="false"

            xmlValidation="false" xmlNamespaceAware="false">

        <Context path="/ahtv"

docBase="/store1/www-dev/mysite.net/doc_root/webapps/ahtv"

workDir="/store1/www-dev/mysite.net/doc_root/webapps/ahtv/WEB-INF/work"

                 unpackWARs="true" autoDeploy="true"
deployOnStartup="false" processTlds="true"

                 xmlValidation="false" xmlNamespaceAware="false"

                 debug="0" reloadable="true" privileged="true"
antiResourceLocking="false">

                 <WatchedResource>WEB-INF/web.xml</WatchedResource>

                 <WatchedResource>jsp/index.jsp</WatchedResource>

                 <Manager pathname="" />

        </Context>

</Host>

Thanks a lot for your help.

Ciao.

Dave.


------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.10/1160 - Release Date: 11/29/2007 8:32 PM


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to