Ignore:
Timestamp:
Apr 15, 2008, 2:24:33 PM (15 years ago)
Author:
Nicklas Nordborg
Message:

References #989: Add support for using extension classes in custom JSP pages

This is now implemented. Need to write documentation also.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/dist/web.xml

    r4221 r4222  
    172172  </servlet-mapping>
    173173 
     174  <!-- Mapping *.xjsp files to a custom JSP compiler that adds extension JAR file to classpath -->
     175  <!-- EXPERIMENTAL!! -->
     176    <servlet>
     177        <servlet-name>xjsp</servlet-name>
     178        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
     179        <init-param>
     180            <param-name>fork</param-name>
     181            <param-value>false</param-value>
     182        </init-param>
     183        <init-param>
     184          <param-name>compilerClassName</param-name>
     185          <param-value>net.sf.basedb.clients.web.extensions.XJspCompiler</param-value>
     186        </init-param>
     187    </servlet>
     188    <servlet-mapping>
     189        <servlet-name>xjsp</servlet-name>
     190        <url-pattern>*.xjsp</url-pattern>
     191    </servlet-mapping>
     192
     193 
    174194  <!-- The CompileAll servlet used to compile all JSP pages -->
    175195  <!-- EXPERIMENTAL!! -->
Note: See TracChangeset for help on using the changeset viewer.