/ Published in: XML
Added generated.by to false in TemplateServlet init
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<web-app> <servlet> <servlet-name>Groovlet</servlet-name> <servlet-class>groovy.servlet.GroovyServlet</servlet-class> </servlet> <servlet> <servlet-name>Template</servlet-name> <servlet-class>groovy.servlet.TemplateServlet</servlet-class> <init-param> <param-name>generated.by</param-name> <param-value>false</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Groovlet</servlet-name> <url-pattern>*.groovy</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Template</servlet-name> <url-pattern>*.gsp</url-pattern> </servlet-mapping> </web-app>