Using global-exceptions in modules

2004-03-09 Thread Bruno Moreno
Hi all, I'm using modules in my struts application and I want to have some general exceptions handlers that will be used by all modules. When I've put this information im my default struts-config.xml, the exception threw by my sub-module was not catched. When I've put this information in

Global-exceptions

2003-12-19 Thread Peter Sloots
Hi all I'm a bad coder so sometimes I get nullpointer exceptions thrown back from an action So I declared a global-exception in my struts-config. global-exceptions exception key=errors.nullpointer type=java.lang.NullPointerException path=page.error/ /global-exceptions

Probelm with global-exceptions routing.

2003-09-05 Thread sreekant_gottimukkala
I have written my own RequestProcessor class (MyRequestProcessor.java) by extending the STRUTS provided RequesrProcessor class. I have overridden the processPreprocess() method as below. Also I have defined the java.lang.NullPointerException in the global-exceptions of struts-config.xml as shown

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Andrew Hill
Afaik, the global-exceptions only traps exceptions thrown up from your actions (not from the RP or the JSPs) (I could be wrong about this though!) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 5 September 2003 16:50 To: [EMAIL PROTECTED] Subject

RE: Probelm with global-exceptions routing.

2003-09-05 Thread sreekant_gottimukkala
: Subject: RE: Probelm with global-exceptions routing. 09/05/2003 02:27 PM

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Navjot Singh
not sure if struts handles exceptions thrown from RequestProcessor. |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED] |Sent: Friday, September 05, 2003 2:20 PM |To: [EMAIL PROTECTED] |Subject: Probelm with global-exceptions routing. | | |I have written my own

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Rohit Aeron
with global-exceptions routing. Basically what I wanted to do in the processPreprocess() method of MyRequestProcessor class was Check if there were any User related credentials in the session, if yes let the process continute. If not then throw the Logon page. Is there any otherway I can achieve

RE: Probelm with global-exceptions routing.

2003-09-05 Thread Robert Taylor
Look into using a Filter for this. robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 5:47 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Probelm with global-exceptions routing. Basically

RE: Probelm with global-exceptions routing.

2003-09-05 Thread David Friedman
PROTECTED] Sent: Friday, September 05, 2003 5:47 AM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: RE: Probelm with global-exceptions routing. Basically what I wanted to do in the processPreprocess() method of MyRequestProcessor class was Check if there were any User related

RE: global-exceptions parse error

2002-12-12 Thread Manish Shah
Fount it...wrong dtd -Original Message- From: Manish Shah Sent: Wednesday, December 11, 2002 5:24 PM To: [EMAIL PROTECTED] Subject: global-exceptions parse error It must be something really stupid but when is it not. I am trying to use global exceptions but I keep getting this parse

global-exceptions parse error

2002-12-11 Thread Manish Shah
It must be something really stupid but when is it not. I am trying to use global exceptions but I keep getting this parse error. I have attached the struts-config here...please let me know Thanks ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache