[appengine-java] Re: ClassCastException blues

2009-09-21 Thread Jason (Google)
Hi James. Are you using the latest version of the SDK? I use jsp:include in a few of my projects and I haven't seen an exception yet in either the local or production environments, so I don't think the include tag itself is the issue. It's certainly possible that the included JSP has an error

[appengine-java] Re: ClassCastException blues

2009-09-18 Thread Jayson Falkner
You could catch this exception to find out more about it; however, I think you just need to use the normal Servlet RequestDispatcher instead of Apache's specific implementation. e.g. request.getRequestDispatcher().include(request, response); Note that the JSP/Servlet spec doesn't require

[appengine-java] Re: ClassCastException blues

2009-09-18 Thread James H
Jayson, the include in my JSP looks like this: jsp:include page=homeLeft.jsp flush=true I assume the Google plugin for Eclipse is handling this in a compatible manner between the test environment provided by the plugin versus production. So, I'm not sure what to change by your comment on

[appengine-java] Re: ClassCastException blues

2009-09-18 Thread Jayson Falkner
Ah. Yep that is weird. If I understand correctly, GAE is compiling the JSP before it uploads it to the cloud. That'd mean it could be making incompatible code (the reason I mentioned before), but it definitely wouldn't be your fault. Good luck debugging. Two other things to try: - The page you