Posted By

laurenceosx on 10/06/10


Tagged

groovy


Versions (?)

groovlet gsp web.xml


 / Published in: XML
 

Added generated.by to false in TemplateServlet init

  1. <web-app>
  2.  
  3. <servlet>
  4. <servlet-name>Groovlet</servlet-name>
  5. <servlet-class>groovy.servlet.GroovyServlet</servlet-class>
  6. </servlet>
  7.  
  8. <servlet>
  9. <servlet-name>Template</servlet-name>
  10. <servlet-class>groovy.servlet.TemplateServlet</servlet-class>
  11.  
  12. <init-param>
  13. <param-name>generated.by</param-name>
  14. <param-value>false</param-value>
  15. </init-param>
  16. </servlet>
  17.  
  18. <servlet-mapping>
  19. <servlet-name>Groovlet</servlet-name>
  20. <url-pattern>*.groovy</url-pattern>
  21. </servlet-mapping>
  22.  
  23. <servlet-mapping>
  24. <servlet-name>Template</servlet-name>
  25. <url-pattern>*.gsp</url-pattern>
  26. </servlet-mapping>
  27.  
  28. </web-app>

Report this snippet  

You need to login to post a comment.