Didn't someone already answer this for you? Maybe we need to be more
explicit. Try this:
global-exceptions
exception
key=uncaught_exception
type=java.lang.Exception
path=/jsp/error.jsp
handler=com.graysail.pgbadmecs.exceptions.ExceptionCatcher
scope=request/
/global-exceptions
And I bet ExceptionCatcher needs the same treatment.
Larry Meadors wrote:
type=java.lang.exception
There is not such class.
Think big E instead...
Larry
[EMAIL PROTECTED] 03/23/04 9:10 AM
I'm trying to write an exception handler in my struts-config to clean up
my application's
Say my model does some validation of business rules. What's the best way
to communicate those errors to the controller, and then (in the case of
struts) translate those into ActionError's? It seems that if I want to
communicate specific errors, creating Exception's for each case might be
I'm writing an application that will require some fairly complex
forwarding logic. After an action completes, it will need to query my
model for the current application state and translate that into the
appropriate forward/next step. The forward itself may require some
pre-processing. To
forwarding framework.
String stepName = WizardSupport.getNextForward(HttpSession, SomeCriteria);
return mapping.findForward(stepName);
-Original Message-
From: Nick Wesselman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 22, 2004 12:04 PM
To: Struts Users Mailing List
Subject: complex
What about when simply displaying data on a page? Do developers
typically copy data out of the domain object just to display it? (As
opposed to using it w/ a form.)
The only issue I see is that you may end up introducing view helper
methods to your model beans.
Nick
Robert Taylor wrote:
Technically this seems to be a business method, logic that would be
better handled in your model code. So for example you have a
ShoppingCart class which has a getItems() method to get your collection
of items and a getTotal() method to add their prices.
Not the answer you're looking for I
Make your entire onmouseover attribute an expression.
onmouseover=%=MM_swapImage('details+counter+, ... %
You can have plain text or a run-time expression as an attribute, but
not both. Hope this helps.
Nick
mucus snot wrote:
Hi list,
Just wondering if anyone has any bright ideas. Things
8 matches
Mail list logo