RE: Where to catch/throw Exceptions in Struts Tiered Architecture

2003-04-03 Thread Erica Leung
tions in Struts Tiered Architecture I think the "null" is generated because the exception's message String was set to null. It's helped me to print out the various scopes' attributes at the bottom of the page because the exceptions show up in there. David >From

RE: Where to catch/throw Exceptions in Struts Tiered Architecture

2003-04-03 Thread Erica Leung
Since you guys are having a good discussion on the exceptions handling in Struts, I would like to ask a lower level question on this topic. On my JSP I always get a "null" exception something like "[Exception on \myPage.jsp: null]". At the beginning this exception was very frustrating since no more

Exception when deploying Struts--rc1 to WebLogic 6.1

2003-03-26 Thread Erica Leung
I got the following exception when deploying a web app using Struts--rc1. weblogic.management.UndeploymentException java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1520) at weblogic.servlet.internal.WebAppHelper.res

RE: session-scope ActionForm issue - confused

2003-03-24 Thread Erica Leung
According to the ActionForm API, the reset() method "is called before the properties are repopulated by the controller servlet. " So by overriding it in your form, the field value should be reset prior to the next action regardless the form scope. -Erica -Original Message- From: apachep2

RE: OO Design with ActionForms, Again - Can someone please comment

2003-03-21 Thread Erica Leung
To subclass a base actionForm is the design used in our project. e.g. The baseSearchForm contains fields common to all the objects and the subSearchForm specifies the fields that are unique for the object. And also, the action is object specific, so you can assign the sub form to each action. I a