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 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Plz help, code is provided.
JSP Redirect/Refresh Options
Peculiar problem with js and css file
jsp:setProperty question
Tomcat madness!