Wow. Mr. Husted, this may seem like an obvious conclusion to you, but to me
(and probably others as well) this is a big hey, why didn't I think of
that! moment.
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 7:05 AM
To: Struts Developers
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 8:54 AM
To: Struts Developers List
Subject: RE: composable RequestProcessor
snip
At this point, I think the main goal is to come up with a decent name
for an interface which RequestProcessor could implement
/snip
-Original Message-
ramble-on
Come to think of it, when is struts going to depend on
servlet 2.3 and no
longer support 2.2? If thats slated for struts 1.2 perhaps
you could ditch
the AS and RP completely and do something with filters? -
though I suppose
you still want to
by whitespace) are provided for any of
the
* above parameters, the classes will be called in the order in which they
are
* listed. There is a logical AND short-circuit behavior: if any processor
* returns false from its process method, the following ones will not be
called.
*
* @author Jeff Robertson
A local extension that I made to Struts 1.0 is possibly germane to this
discussion. If you don't mind looking at ActionServlet-based code I'll post
my work here.
I might go ahead and translate it to RequestProcessor. I planned to
eventually do this all along, since all it did was override
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
That lead to the current discussion, which is mostly theoretical,
since no one who has spent longer extending RequestProcessor is
clamoring for this kind of complexity. Even if they were clamoring,
no one would
The one legitimate use for them that I can think of to have the welcome-page
of your web app forward or redirect to an action, because you can't
(portably) use an action as the welcome-page.
-Original Message-
From: Mohan Kishore [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003
PROTECTED]
Sent: Friday, April 04, 2003 1:51 PM
To: [EMAIL PROTECTED]
Subject: RE: logic:forward and logic:redirect
But you can use a filter or code the http redirect pragma by
hand. The
redirect and forward tags don't belong in our taglibs, IMO.
David
From: Jeff Robertson [EMAIL
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]
Sent: Friday, April 04, 2003 2:11 PM
To: [EMAIL PROTECTED]
Subject: Re: logic:forward and logic:redirect
Ted Husted [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I've always wanted to move them to
Could you use a DecimalFormat to parse it? It has several different parsing
methods, not all of which throw exceptions. For example:
http://java.sun.com/j2se/1.3/docs/api/java/text/DecimalFormat.html#parse(jav
a.lang.String,%20java.text.ParsePosition)
Returns null to indicate an error.
Note: Our application is built using Struts 1.0.2, so we are dealing with
the process methods of ActionServlet. However, I think something similar
would apply to the RequestProcessor of Struts 1.1.
We found ourselves subclassing ActionServlet to insert custom code into the
processPreprocess,
11 matches
Mail list logo