This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Servlet problem while migrating from Tomcat 6 to Tomcat 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlet problem while migrating from Tomcat 6 to Tomcat 7" Watch "Servlet problem while migrating from Tomcat 6 to Tomcat 7" New topic
Author

Servlet problem while migrating from Tomcat 6 to Tomcat 7

Mohanasundar Nagarajan
Greenhorn

Joined: Mar 23, 2010
Posts: 19
Hi,

I'm having problem with accessing servlet in Tomcat 7. I am migrating web application from Tomcat 6 to Tomcat 7. But servlet was not able to accessible using servlet/servletName. Our application having more than 500 servlets so at present it is not impossible to change the existing code. We cannot map every thing in web.XML also we don't know how may servlets are there. Is there any other solution for servlet like invoker in Tomcat6 for mapping.

Thanks in advance.
Mohanasundar.n
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Mohana,
First read why the invoker servlet is evil. If you still want to do this this blog offers a replacement.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
I think you can change some tomcat 7 pecific code in web xml file particularly in top.
 
wood burning stoves
 
subject: Servlet problem while migrating from Tomcat 6 to Tomcat 7
 
Similar Threads
Chapter 2 (HFSJ) notes , may be useful for anyone
Tomcat 5.5 Migration - Request Dispatcher issue
concurrent access problem in tomcat
Moving from Tomcat to Resin JSTL Problem
Does websphere app server 7 supports EJB 2.1?