I don't like to let the exception go as is, since I need the stack trace.
Don't you wanna know what went wrong?
The following works wonderfully, -- I have :-
Note my key!
My system failure URL is mapped in web.xml to a simple JSP with customer
service tel#.
public class MyExceptionHan
From: "David G. Friedman" <[EMAIL PROTECTED]>
> Now, on the JSP issues, since you're trading control over to JSP's, can't
> you list the exception in your web.xml configuration file? See the
> 'exception-type' in the solution under this url:
> http://www.jguru.com/faq/view.jsp?EID=457102
Probably
Wendy,
Struts exception handling *does* work correctly when it comes to
inheritance; and your configuration looks correct. First, check the FQN
(fully-qualified name) of your exception -- if that's correct, I suggest
you take out your handy-dandy debugger and set a breakpoint in the
RequestProc
Sorry, I don't exactly know what you are doing wrong, but here is an
example that shows what the "key" attribute is for:
From a struts-config.xml:
The "key" attribute to the "exception" element is a message resources
key, in the bundle sp
tion in your web.xml configuration file? See the
'exception-type' in the solution under this url:
http://www.jguru.com/faq/view.jsp?EID=457102
Regards,
David
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 6:43 PM
To: Struts Users Maili
From: "David G. Friedman" <[EMAIL PROTECTED]>
> This looks interesting. What is 'den.login.success'? Is it a key in a
> resource file or a java class or just a flat file with a dot-notation
name?
It's a Tiles definition.
I'm sure I initially tried a Tiles def in the path attribute of the
tag,
Wendy,
This looks interesting. What is 'den.login.success'? Is it a key in a
resource file or a java class or just a flat file with a dot-notation name?
Regards,
David
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 17, 2004 6:32 PM
To: Struts U
7 matches
Mail list logo