Solved

Runing the listener in Tomcat

Posted on 2008-09-30
3
698 Views
Last Modified: 2013-12-02
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
Comment
Question by:oleber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 22611366
Are you seeing exception/error on the tomcat logs?
0
 
LVL 10

Accepted Solution

by:
oleber earned 0 total points
ID: 22612116
I discover de problem.

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

Thanks for trying to help
0
 
LVL 10

Author Comment

by:oleber
ID: 22612120
I fix it.
0

Featured Post

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question