Thanks to Chris and and Tim Funk for pointing me in the right direction. For the archives, I found that adding the following two lines to %catalina_home%/conf/web.xml did the trick:

<servlet>
        <servlet-name>jnc</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
                <param-name>logVerbosityLevel</param-name>
                <param-value>WARNING</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
</servlet>

<servlet-mapping>
        <servlet-name>jnc</servlet-name>
        <url-pattern>*.jnc</url-pattern>
</servlet-mapping>

Best,
Richard Bondi

At 06:14 PM 12/3/2003 -0500, you wrote:
Richard,
Does anyone know how to configure tomcat to compile .jnc files in this circumstance?
Is there a standard convention for naming jsp include files?

Yeah, .jsp :)


Seriously, though. Check out CATALINA_HOME/conf/web.xml for how they configure the .jsp file trnaslator/compiler. You could modify the that web.xml file to include the same type of things for .jsp files, or you could modify the deployment descriptor for your application.

Unfortunately, modifying your deployment descriptor will make your application non-portable. But, you are already making your .jsp files called something else, anyway, so you'll have to do some sort of re-configuration for every app server you indend to use.

-chris


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



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



Reply via email to