I've written a servlet that was using JServ and now I upgrade to use Tomcat. What would I need to change?

Tim Pierce

The only thing you should have to change code-wise is whatever has been changed in the Servlet API between the API used in JServ and the api used it Tomcat... just a couple that come to mind are

encodeURL() is now encodeUrl() and encodeRedirectURL is now encodeRedirectUrl(). You can get the entire list by looking at the specs for the servlet APIs on the java site. There is usually a section in the specs that is "What's New in the API".

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact