Kathrin Sann

Greenhorn
+ Follow
since Jun 07, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kathrin Sann

Hi,
in HFS page 201 is written, SingleThreadModel is not on the exam. But there are a lot of mock questions around. Have I to learn SingleThreadModel for the 1.4 exam or not ??? javascript: x()Confused
Thanks for answers !
Kathrin
[ March 11, 2005: Message edited by: Kathrin Sann ]
Yes, then I get arithmeticError.jsp.
But I thought, the container would recognize the kind of Exception and choose the nearest ?
Kathrin
Hi,
I have a problem with error pages in DD.
I tried to cause an arithmetic Exception (10/0) and thought I will get my errorPage arithmeticError.jsp but always get the errorPage for Throwable: errorPage.jsp when calling badPage.jsp. What is wrong ??

badPage.jsp
<html><body>
<h1>Bad Page</h1>
<% int x=10/0; %>
</body></html>

errorPage.jsp
<%@ page isErrorPage="true" %>
<html><body>
<h1>Error !</h1>
</body></html>

arithmeticError.jsp
<%@ page isErrorPage="true" %>
<html><body>
<h1>arithmetic Error !!</h1>
</body></html>

web.xml
<error-page>
<exception-type>java.lang.ArithmeticException</exception-type>
<location>/arithmeticError.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/errorPage.jsp</location>
</error-page>

Thanks,
Kathrin
Hi !
Can anyone please tell me, how to change the titelbar color of a JFrame ?
Thanks a lot !
Kathrin
18 years ago