permaculture playing cards*
The moose likes Tomcat and the fly likes Resin doesn't compile JSP properly while Tomcat does Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Resin doesn Watch "Resin doesn New topic
Author

Resin doesn't compile JSP properly while Tomcat does

imran maniyar
Greenhorn

Joined: Mar 15, 2011
Posts: 1
I thought the following code was portable. However, Tomcat 6.0.20 does it right, while Caucho Resin Pro 4.0.15 seems to be compiling it wrong.

My JSP code is as follows:


Tomcat compiles it to the following in the class org.apache.jsp.WEB_002dINF.error_002dpages._404_jsp:
_jspService


Resin compiles it to the following in the class _jsp._web_22dinf._error_22dpages._404_jsp:
_jspService


In String _jsp_fragment_4(


Due to the function _jsp_fragment_4 that the Coucho Resin jsp compiler produces, Coucho Resin ends up through a INTERNAL SERVER ERROR because it cannot compile the jsp file into a servlet.

Do you think Caucho Resin is at fault?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resin doesn't compile JSP properly while Tomcat does