Copy link to clipboard
Copied
My current JSP/Servlet web application is working on Jrun4 app server.
I was planning to migrate on ColdFusion 11 .
I did not find any JSP/Servlet sample project on ColdFusion. I am in doubt if ColdFusion 11 works for JSP/Servlet.
All I get is cfm projects illustrations for ColdFusion11.
Please tell me if ColdFusion 11 works for JSP/Servlets version 3.0 and if yes please share the steps to setup in eclipse platform.
Copy link to clipboard
Copied
ColdFusion 11 runs on top of a customized version of Tomcat 7 instead of JRUN. Tomcat is a servlet container, and should run JSP just fine via the built-in Jasper JSP Engine. I can't provide any more detail - I don't work with JSP at all. But a quick Google of "Tomcat JSP" should get you started, and show that Tomcat 7 supports JSP version 3.0.
Copy link to clipboard
Copied
Yes, ColdFusion 11 supports JSP and Servlets. But, hey, don't take my word it: find out for yourself.
servletTest.jsp
Server info: <%= application.getServerInfo() %><br>
Servlet version: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %><br>
JSP version: <%= JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion() %><br>
Java version: <%= System.getProperty("java.version") %>
servletVersion.cfm
<cfscript>
writedump(getPageContext().forward('servletTest.jsp'));
</cfscript>