Forums Register Login

JSTL errors causes page to half-load

+Pie Number of slices to send: Send
Every so often, I have an error in the JSTL I write for my JSP's, such as a typo. This causes the page to not render properly. It's as if the browser decided to quit halfway (or even less). I don't see any meaningful error messages or any exception, just a half-rendered page.

Is this behaviour normal? It's a real pain to debug because I can only walkthrough the code carefully before finding my mistake. Is there a more efficient way to solve these problems?

(I'm using Tomcat 5.5, JSTL 1.2 and have set error pages, which work fine when my framework throws an exception)

Thanks.
+Pie Number of slices to send: Send
Have you checked the logs?
+Pie Number of slices to send: Send
Yes, logs did not show any problems. Typically these should show up in the jasper.log?
+Pie Number of slices to send: Send
In this case, probably not.

It sounds like a runtime problem that is happening after the response has started sending output to the client.

Jasper is the JSP compiler that converts your JSP code into generated servlet code. If something in Jasper blew up, you never would have reached the point where output is being generated.
Acetylsalicylic acid is aspirin. This could be handy too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1129 times.
Similar Threads
JSTL library poblem
Exception creating bean of class
Implicit Exception Object
JSTL exception handling
Which JSTL jar files for tomcat 5.5?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 04:21:54.