Update of /cvsroot/webmacro/webmacro/examples/WEB-INF
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22130/WEB-INF
Added Files:
web.xml
Log Message:
Moved down from above, mapped .tml extension to TemplateServlet
--- NEW FILE: web.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>WebMacro</display-name>
<servlet>
<servlet-name>invoker</servlet-name>
<servlet-class>
org.mortbay.jetty.servlet.Invoker
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>TemplateServlet</servlet-name>
<servlet-class>
org.webmacro.servlet.TemplateServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TemplateServlet</servlet-name>
<url-pattern>*.tml</url-pattern>
</servlet-mapping>
</web-app>
|