Danke Andreas! I changed from <%@ include> to <jsp:include> and it works now. I'm not sure why extra condition causes that crash, but that change fixed the inclusion.
-Gennady Andreas Delmelle-2 wrote: > > > On 13 Nov 2008, at 03:56, gennady wrote: > > Hi > >> This code works fine: > <snip /> >> >> But when I try to put some condition around it - put empty block, if >> no >> latitude and longitude then it crashes: > <snip /> >> >> This is a part of error message: >> 21:52:07,378 ERROR [[jsp]] Servlet.service() for servlet jsp threw >> exception >> org.apache.jasper.JasperException: Unable to compile class for JSP >> >> Generated servlet error: >> The code of method _jspService(javax.servlet.http.HttpServletRequest, >> javax.serv >> let.http.HttpServletResponse) is exceeding the 65535 bytes limit > > Nothing weird. You just hit an upper limit. Due to the added > condition, your JSP file when translated, now generates a service > method that is longer than 64K bytes. > Consider splitting it up into multiple files, and use <jsp:include>, > or at least try to introduce a little more structure in the code and > you should be fine. > > > HTH! > > Cheers > > Andreas > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Something-weird---PDF-output-crashes-when-using-Google-map-tp20473950p20481668.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]