• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 712
  • Last Modified:

Runing the listener in Tomcat

I have a GroovyServlet running in my Tomcat server.

I have a Listener generating a menu in my Website.

This run ok with my Java Servlets, but the Groovy Servelets aren't getting this menu.


To have Groovy in my Tomcat Server I added:

      <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>


Did I forget something with Groovy?
0
oleber
Asked:
oleber
  • 2
1 Solution
 
Ajay-SinghCommented:
Are you seeing exception/error on the tomcat logs?
0
 
oleberAuthor Commented:
I discover de problem.

The menu is done in a filter, not in the listener.

Thanks for trying to help
0
 
oleberAuthor Commented:
I fix it.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now