i was put this code with all kind of type in web.xml too, and still got that error.
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error.zul</location>
</error-page>
-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have an application that is in the process of penetration test. the test is using Burb Suite to test. My tester tell me that i must put an error handler of unexpected error like "Unknown exception: org.zkoss.json.parser.ParseException." etc.
i was read error handler on zk document that put this code on zk.xml and it did not works.
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error.zul</location>
</error-page>
An exception might be thrown in two situations:
specifying <error-page>
in zk.xml
just handles the 2nd one. You still need to handle the first one. Please check the Error Handling.
i was put this code with all kind of type in web.xml too, and still got that error.
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error.zul</location>
</error-page>
Could you try to run a new project or create a simple page that throws an exception to test it, or you can try to run this example: errorHandling.zul
Which situation are you testing right now? for loading a zul or serving an AU request?
Since the configuration is quite straightforward. I can't figure out the reason without more technical details. Could you send your web.xml and zk.xml to [email protected]?
i was creating the new one. and it still.
i am in serving an AU request test right now.
Oke i'll send my web.xml and zk.xml
sektiandarbeni ( 2021-12-15 15:18:25 +0800 )editAsked: 2021-12-13 16:44:45 +0800
Seen: 11 times
Last updated: Dec 15 '21