Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 715
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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