Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Resin doesn't compile JSP properly while Tomcat does

 
imran maniyar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic