Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

Re: [groovy-user] Problem with Groovlets on Windows Tomcat

Alexander Veit

2008-08-21

Replies: Find Java Web Hosting

Author LoginPost Reply
> grkuntzmd wrote:
> Anyone have this working? How?

Just tested with WinXP Pro SP3, Groovy 1.5.6, Sun JDK 1.6.0_07, Tomcat
6.0.14, antlr-2.7.6.jar, asm-2.2.jar, and groovy-1.5.6.jar. First Example
from http://groovy.codehaus.org/Groovlets.

It works for me.

-Alex


This is the web.xml I used:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 version="2.5">

  <description>
   Groovlet Examples.
  </description>
  <display-name>Groovlet Examples</display-name>


 <servlet>
   <servlet-name>Groovy</servlet-name>
   <servlet-class>groovy.servlet.GroovyServlet</servlet-class>
 </servlet>

 <servlet-mapping>
   <servlet-name>Groovy</servlet-name>
   <url-pattern>*.groovy</url-pattern>
 </servlet-mapping>

</web-app>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.