| 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: 26173
|
|
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.
|
 |
 |
|
|
subject: Servlet problem while migrating from Tomcat 6 to Tomcat 7
|
|
|