Error Handling

2003-12-22 Thread Travis D. Falls
I have a question regarding error handling. There are many camps that advocate different error handling methodologies. What is the best way to do it when designing an application? t - To unsubscribe, e-mail: [EMAIL PROTECTED

Error Handling without using errorPage directive

2003-11-05 Thread Jonathan Gordon
Hello all, I'd like to handle any and all exceptions handled thrown by my JSP pages declaratively, ideally using in struts-config. Currently, I have a JSP page called by a tile that uses the JSTL Tag Library. Using the c tag I perform a check like this: ... do some work ... If the method g

RE: Struts Error Handling Problem

2003-07-30 Thread Yansheng Lin
e for editing! But anyways, I guess what I wanted to emphasis was that you can display errors along with all the form data retained. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: July 30, 2003 3:10 PM To: 'Struts Users Mailing List' Subject: RE: Struts

RE: Struts Error Handling Problem

2003-07-30 Thread Yansheng Lin
List (E-mail) Subject: Struts Error Handling Problem Hi All, I am currently using the Struts framework to develop a wizard application. When using the Struts framework I notice that form data does not get re-displayed after issuing ActionErrors. Is there any reason for this? I use the following

Struts Error Handling Problem

2003-07-29 Thread Rodney Paul
Hi All, I am currently using the Struts framework to develop a wizard application. When using the Struts framework I notice that form data does not get re-displayed after issuing ActionErrors. Is there any reason for this? I use the following code structure for developing the wizard: Organisatio

Struts Error Handling Problem

2003-07-07 Thread Rodney Paul
I am currently experiencing a problem with the Struts error handling framework. I am trying to use the error handling framework from ActionForm and LookupDispatchAction classes. The problem I have is in regards to display of error messages. I have found that error messages are being displayed

Re: AW: AW: error handling

2003-06-27 Thread Pramod . P
PROTECTED] cc: 06/27/2003 Subject: AW: AW: error handling

Re: error handling

2003-06-27 Thread Sandeep Takhar
you will something in the session for this. I modified the "workflow" stuff to handle this situation. If a mapping has more than one path to it --> then you have to override default behaviour in order to get to the calling mapping. I am thinking now that it would have been easier to specify a di

AW: AW: error handling

2003-06-27 Thread sem . Gottofrey
could try this as well. Cheers Robert > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 27. Juni 2003 13:01 > An: Struts Users Mailing List > Betreff: Re: AW: error handling > > > > Thank you Robert. > But, th

Re: error handling

2003-06-27 Thread Pramod . P
as De Loof" To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subje

Re: AW: error handling

2003-06-27 Thread Pramod . P
itag, 27. Juni 2003 11:15 > An: Struts Users Mailing List > Betreff: error handling > > > Hi, > > Can anyone send me a solution for the following > problem: > From two jsps, I am coming to the same action class. (in the > first jsp, I have a link, clicking o

Re: error handling

2003-06-27 Thread Prashanth.S
ya I agree with nicolas.But is there any way of doing it typically THE STRUTS WAY??? cheers Prashanth Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > But by doing in this way, for the forward name="failure" I will always end up in > StatuicUpload.jsp > (for the below example) I don't want to goto

Re: error handling

2003-06-27 Thread Nicolas De Loof
> > But by doing in this way, for the forward name="failure" I will always end up in > StatuicUpload.jsp > (for the below example) I don't want to goto that jsp. I need to goto the parent > page. > Let me explain the scenario once again. From two different jsps (say a.jsp and > b.jsp) I am comin

AW: error handling

2003-06-27 Thread sem . Gottofrey
HTH Robert > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 27. Juni 2003 11:15 > An: Struts Users Mailing List >

Re: error handling

2003-06-27 Thread Pramod . P
"Prashanth.S" <[EMAIL PROTECTED] To: Struts Users Mailing List <[EMAIL PROTECTED]> ahoo.com>cc:

Re: error handling

2003-06-27 Thread Prashanth.S
Hi pramod, you once thoroughly take a look at actionerror and actionerrors docs. If u want to route ur errors to the parent page, give the following statement in your action class. actionErrors.add(ActionErrors.GLOBAL_ERROR, new ActionError("errors.tx.incomplete")); saveErrors(request, action

error handling

2003-06-27 Thread Pramod . P
Hi, Can anyone send me a solution for the following problem:

Re: error handling

2003-03-19 Thread Simon Kelly
the struts documentation somewhere. Cheers Simon - Original Message - From: "michael wimmer" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 3:47 PM Subject: error handling > Hi, > > being pretty ne

error handling

2003-03-19 Thread michael wimmer
Hi, being pretty new to Sturts, I just finished a simple form with the according FormBean and Action classes. Now I face the problem, that I should display the error Text if an entry is missing and change the style of the input field. works fine for displaying the error message, but I was just

RE: DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Could you please help me with an example of error handling using a dispatchAction using the declarative exception handling? Many thanks in advance, Kind regards -Oorspronkelijk bericht- Van: Johan Kumps [mailto:[EMAIL PROTECTED]] Verzonden: zondag 26 januari 2003 22:29 Aan: Struts Users

RE: DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Hi, No I'm using beta 2 of Struts. I'll try to use beta 3 I keep you in touch. Kind regards, -Oorspronkelijk bericht- Van: Rick Reumann [mailto:[EMAIL PROTECTED]] Verzonden: zondag 26 januari 2003 22:27 Aan: Struts Users Mailing List Onderwerp: Re: DispatchAction error handl

Re: DispatchAction error handling how to?

2003-01-26 Thread Rick Reumann
On Sun, Jan 26,'03 (09:43 PM GMT+0100), Johan wrote: > Hi all, > > Can somebody please trow a light on error handling using a > DispatchAction. The class org.apache.struts.actions.DispatchAction in > Struts 1.1b2 is catching an InvocationTargetException. So when the > &

DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Hi all, Can somebody please trow a light on error handling using a DispatchAction. The class org.apache.struts.actions.DispatchAction in Struts 1.1b2 is catching an InvocationTargetException. So when the 'dispatchMethod' invokes a method that throws an exception, it's catched h

RE: Error Handling Database constraints

2003-01-09 Thread Robert Taylor
om: Alireza Fattahi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 6:11 AM > To: 'Struts Users Mailing List' > Subject: Error Handling Database constraints > > > Hi, > > As we know there are two types of errors. > > 1) The user input error, for exam

RE: Error Handling Database constraints

2003-01-09 Thread Krishnakumar N
, the corresponding exceptions need to be caught and handled, I guess. Cheers, Krishna -Original Message- From: Alireza Fattahi [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 4:41 PM To: 'Struts Users Mailing List' Subject: Error Handling Database constraints Hi, A

Error Handling Database constraints

2003-01-09 Thread Alireza Fattahi
this? Why did we just let the insert happens and work with SQLException? Because the returned error from database can not be handled or modified nicely. These errors are changed for each database. Are we doing the right way? Is there any better way available for error handling Database Constraints

Re: Error handling (ServletException)

2002-12-15 Thread Dan Tran
Message - From: "Pete Gieser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 15, 2002 12:54 AM Subject: Error handling (ServletException) > Is there something special I have to do to handle a ServletException? > No matter what I try, the stack trac

Error handling (ServletException)

2002-12-15 Thread Pete Gieser
Is there something special I have to do to handle a ServletException? No matter what I try, the stack trace always seems to be sent to the standard Tomcat error page. I've tried configuring in struts-config, but that doesn't seem to work. What's the secret? javax.servlet.ServletE

RE: about html:error ( error handling )

2002-11-13 Thread Alex Almero
could you post a sample code tnx aalmero -Original Message- From: wolfgang [mailto:wolfgang127jp@;ybb.ne.jp] Sent: Wednesday, November 13, 2002 3:01 AM To: Struts Users Mailing List Subject: Re: about html:error ( error handling ) Hi there, Finally, I figured it out. Actually the way

Re: about html:error ( error handling )

2002-11-12 Thread wolfgang
Hi there, Finally, I figured it out. Actually the way is just not to use struts tag libraries. ;( Get the ActionErrors and search the key. if there's an object corresponding to the key, write FF if no, write FF thank you. wolfgang -- wolfgang <[EMAIL PROTECTED]> -- To unsubscribe, e-m

Re: about html:error ( error handling )

2002-11-12 Thread wolfgang
Hi Mouratidis, Thank you for replying me. but unfortunately that's not what I wanted to know. I wasn't asking how to just handle errors. thank you. wolfgang -- wolfgang <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: For additional comm

RE: about html:error ( error handling )

2002-11-12 Thread Mouratidis, Georg
quot;language", new ActionError("login.error.language.required")); return errors; } hopefully i could help you -Original Message- From: wolfgang [mailto:wolfgang127jp@;ybb.ne.jp] Sent: Dienstag, 12. November 2002 16:33 To: Struts Users Mailing List Subject: about

about html:error ( error handling )

2002-11-12 Thread wolfgang
Hi there, I'm trying to make an error handling in my web application with and . but I'm stuck. what I wanna do is that when struts catch the error (user didn't fill in the required textarea) , struts say there's an error. And even though there were no errors, strust say

Re: [STRUTS] Form error handling

2002-09-17 Thread tnist
02/09/17 Tue AM 07:00:28 EDT > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: [STRUTS] Form error handling > > Hello, > mine is a newbie question: > > When validate fails i put some code like this: > > newError = new ActionError("myform.error&qu

[STRUTS] Form error handling

2002-09-17 Thread kiuma
Hello, mine is a newbie question: When validate fails i put some code like this: newError = new ActionError("myform.error", "") errors.add( ActionErrors.GLOBAL_ERROR, newError ); in my properties file I put the key relative to myform.error. in struts-config.xml

RE: [MessageResources] URGENT!!! Dynamic parameters in App Resources for error handling

2002-08-31 Thread James Mitchell
> -Original Message- > From: Tarun Sainanee [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 31, 2002 11:05 AM > > Hi all, > I have been pretty happy using struts 1.0.2 for some time now. But now i > have a problem. Please help. > > I know that we can use parameterized messages in the A

URGENT!!! Dynamic parameters in App Resources for error handling

2002-08-31 Thread Tarun Sainanee
Hi all, I have been pretty happy using struts 1.0.2 for some time now. But now i have a problem. Please help. I know that we can user parameterized messages in the App Resources file for error messages. Depending on the no of parameters i can have an errors.add() method pass the parameters. Bu

Re: error handling in jsp

2002-08-15 Thread Tim T. Young
"Struts Users Mailing List" Subj

error handling in jsp

2002-08-15 Thread Billy Ng
Hi folks, I am using struts-template.tld to generate the pages. For example, <%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %> When any exception is thrown in the content.jsp, the page will display with header only. I want to display the error_content.jsp if any eceptio

Re: Error handling philosophy in STRUTS

2002-02-22 Thread Ted Husted
r a service such as a credit card validation or anything else on a > remote location is not available) then I have at least a chance to return a > meaningful error message. If I have to store messages in a resource file I > could simply return something like "Operation failed". Thi

Error handling philosophy in STRUTS

2002-02-21 Thread Tom Bednarz
. This is not very usefull for either the end-user nor any support staff. I don't know what the philosophy of Error handling in struts is, but for distributed applications it would be nice if there would be a possibility to simply add a string to the ActionError object and then add it to

RE: Customised Error handling

2001-11-19 Thread Alexander Jesse
EMAIL PROTECTED] Subject: Customised Error handling The HTMLErrors tag handles validation errors well and of course I can load other text messages into an ActionError and present them via an HTML:errors tag. But I need to have at least one other category of error message. Is there a built-in mech

Customised Error handling

2001-11-19 Thread Anthony Chater
The HTMLErrors tag handles validation errors well and of course I can load other text messages into an ActionError and present them via an HTML:errors tag. But I need to have at least one other category of error message. Is there a built-in mechanism for doing this or do I have to write my ow

Error Handling in Action Classes

2001-09-06 Thread Matthias Gries
Hi all, one question from a new Struts user: Is there any documentation available concerning error handling within action classes? It is mentioned that exceptions from java beans should be catched and logged to the servlet's logfile...but how can I display an error message in a jsp which

Re: Error handling with taglibs

2001-05-11 Thread Tony Karas
if an error is associated with it. These are my thoughts. Cheers Tony >From: Scott Walter <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Error handling with taglibs >Date: Fri, 11 May 2001 08:02:18 -0700 (PDT) > >I have though

RE: Error handling with taglibs

2001-05-11 Thread Nanduri, Amarnath
like an   if,else condition.. If no error show plain, else show in red font with the error msg. Hope this helps.   cheers, Amar.. -Original Message-From: Mike Prader [mailto:[EMAIL PROTECTED]]Sent: Friday, May 11, 2001 10:13 AMTo: [EMAIL PROTECTED]Subject: Error handling with

Re: Error handling with taglibs

2001-05-11 Thread Scott Walter
I have thought about this myself, just a rough guess but you could modify the struts input tags (such as the textfield) to do: 1. Search through the errors vector to see if it applies to the current property 2. Set background color to the text field to red or something like that. scott. --- Mi

Error handling with taglibs

2001-05-11 Thread Mike Prader
Hi all   My problem is, that I want to mark a textfield red and set the focus to it after I checked the fields in my from the Action Class derived class and I detected an error in this input. I want to use taglibs also.   Is there any possibility to do this in my from the ActionForm Class der