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]

Reply via email to