code too large for try statement in jsp / jspf ?
This usually happens while combining multiple jspf`s using include statement(other than the obvious meaning of the error message that is ).
it seems that include can only support a specific number of lines(or more likely some specific size) of code in the jspf beyond which it throws this exception "code too large for try statement".
interestingly it shows this error in the least expected lines of code!
if you delete a few lines and check, it would probably work.
the solution is to use jsp:include instead of include
About this entry
You’re currently reading “code too large for try statement in jsp / jspf ?,” an entry on Quality Obsessed
- Published:
- 04.23.08 / 10am
- Rate article:
Printer Friendly

No comments
Jump to comment form | comments rss [?] | trackback uri [?]