I have ColdFusion 9.0.2 and Java 1.6.0_29. I'm trying to use the java loader project to compile java code but I am receiving this error.
package javax.servlet.http does not exist import
javax.servlet.http.HttpServletRequest;
However, the javax.servlet.http package seems to be there already b/c I can execute this code without error:
<cfset obj = createObject("java","javax.servlet.http.HttpServletRequest")>
<cfdump var="#obj#">
I've tried downloading the jar for javax.servlet.http and adding it to CF (paste in C:\ColdFusion9\runtime\lib and restart cf service) but it doesn't make any difference. Is an older version of this package included in a jar that is part of CF or something?