Re: Howto handle this behavior in Struts+Tiles

2002-11-19 Thread atta ur-rehman
, Danny [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, November 18, 2002 5:02 PM Subject: RE: Howto handle this behavior in Struts+Tiles There is a page directive call isError=true or something. And there can only Be one of this page within the entire apps

RE: Howto handle this behavior in Struts+Tiles

2002-11-19 Thread Trieu, Danny
Let me know the result :) -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 9:20 AM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Hello again, Danny! I had to abort it abruptly yesterday. Now

Re: Howto handle this behavior in Struts+Tiles

2002-11-19 Thread atta ur-rehman
PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 5:54 PM Subject: RE: Howto handle this behavior in Struts+Tiles Let me know the result :) -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
Hello, Usually exception that being thrown by the VIEW(JSP) are rendering related exception. This could be tags/Scriptlet that access resource, JavaBeans, fails. Meaning the Resource is not there. And when these thing happen with composite view thing became A bit tricky. First of all, within

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
' [EMAIL PROTECTED] Cc: Mebed, Waheed [EMAIL PROTECTED] Sent: Monday, November 18, 2002 10:36 AM Subject: RE: Howto handle this behavior in Struts+Tiles Hello, Usually exception that being thrown by the VIEW(JSP) are rendering related exception. This could be tags/Scriptlet that access resource

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
]] Sent: Monday, November 18, 2002 10:57 AM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Thanks, Danny, for the detailed response. We're running Struts 1.0.x. Does it support ExceptionHandler paradigm? If so could you please point towards some starting

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
, November 18, 2002 11:15 AM Subject: RE: Howto handle this behavior in Struts+Tiles Hello, 1.0 doesn't support declarative exception handling, but it doesn't prevent you from Doing so...:) Anyway, what I would do is: 1) Implement an abstract Action have and Abstract method execute(...) throw

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
] Sent: Monday, November 18, 2002 11:15 AM Subject: RE: Howto handle this behavior in Struts+Tiles Hello, 1.0 doesn't support declarative exception handling, but it doesn't prevent you from Doing so...:) Anyway, what I would do is: 1) Implement an abstract Action have and Abstract method

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
Subject: RE: Howto handle this behavior in Struts+Tiles You are almost close ... :) Yes my point 3 is that mapping in the web.xml. But Instead of going to the JSP, location/ErrorPage.jsp/location, you would want To go to location/errors/catchError.do/location, which map it to a Action

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
I thinks so ... Good luck...:) --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 1:05 PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles okay, let me give it a try and I'll get back to you

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
Users Mailing List' [EMAIL PROTECTED] Sent: Monday, November 18, 2002 1:05 PM Subject: RE: Howto handle this behavior in Struts+Tiles I thinks so ... Good luck...:) --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 1:05 PM

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
]] Sent: Monday, November 18, 2002 1:22 PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Hi Danny, I'm confused already!!! here is the abstract action class with an abstract execute method

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
, November 18, 2002 2:05 PM Subject: RE: Howto handle this behavior in Struts+Tiles Okay, If you want to handle where to go next in one place then create the abstract class and have All the exception handling extends from it. All the handler action need to do is to do profiling Of the exception

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
You got it ... :) --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 2:30 PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles we want to have and execute(...) method in a abstract class so

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
No problem... I've learn from others the same way... --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 2:37 PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Thankyou very much, Danny

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
, 2002 2:37 PM Subject: RE: Howto handle this behavior in Struts+Tiles No problem... I've learn from others the same way... --danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 2:37 PM To: Struts Users Mailing List Subject: Re

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles well, Danny, here I am. back to square one! what I have achieved so far is that I've made changes in the web.xml and in my action so that whenever Action class throws an exception web.xml settings redirect

Re: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread atta ur-rehman
: RE: Howto handle this behavior in Struts+Tiles First of all forwarding is more efficient the redirect. If exception being throw inside your JPS/Tile, if not cached it will be wraped by A JspException, or ServletException I don't remember. And these exception if Not declared by JSP to handle

RE: Howto handle this behavior in Struts+Tiles

2002-11-18 Thread Trieu, Danny
or not...:) danny -Original Message- From: atta ur-rehman [mailto:[EMAIL PROTECTED]] Sent: Monday, November 18, 2002 4:27 PM To: Struts Users Mailing List Subject: Re: Howto handle this behavior in Struts+Tiles Yes, the JSP page throws ServletException but the application doesn't catch