Take a look at http://mojodna.net/sprout/, it may be similar to what you need.
-Original Message-
From: Brantley Hobbs [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 10:35 AM
To: Struts Users Mailing List
Subject: RE: Get a list of defined Struts actions at runtime
> &
> OOPS! Copy-paste busted.
>
> I meant to say, in your struts-config.xml:
>
>
> :D
> Hubert
>
> (ps. what? you think I have all this in memory?)
>
> > and in your struts-config.xml:
> >
> >
> >
> >
> >
Ahh. I was mightily confused by the property "defnames". This is
OOPS! Copy-paste busted.
I meant to say, in your struts-config.xml:
:D
Hubert
(ps. what? you think I have all this in memory?)
On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> I wouldn't subclass ActionServlet just for this. Try doing this in a
> Struts plugin instead:
>
> package
I wouldn't subclass ActionServlet just for this. Try doing this in a
Struts plugin instead:
package edu.uga.itos;
public class HobbsPlugIn
implements PlugIn {
public void init(ActionServlet servlet, ModuleConfig config)
throws ServletException {
String actionList
> I'm just throwng this out there but, is this something that could be
> solved
> a little easier with annotations? I just got my Thinking in Java (4th
> ed) recently,
> so don't hate on me.
I have to plead ignorance. What is an annotation? I'm completely open
to a less...umminvasive method
I'm just throwng this out there but, is this something that could be solved
a little easier with annotations? I just got my Thinking in Java (4th
ed) recently,
so don't hate on me.
Peace
On 3/24/06, Brantley Hobbs <[EMAIL PROTECTED]> wrote:
> > > At runtime I need to get a list of /all/ the act
> > At runtime I need to get a list of /all/ the actions that are
defined in
> > Struts. I'd rather not extract them directly from the conf file(s)
> > unless it's absolutely necessary, but I don't (readily) see an API
for
> > doing this so I might be forced into it.
> >
>
> It seems a bit diffic
Brantley Hobbs ha scritto:
All,
At runtime I need to get a list of /all/ the actions that are defined in
Struts. I'd rather not extract them directly from the conf file(s)
unless it's absolutely necessary, but I don't (readily) see an API for
doing this so I might be forced into it.
It see
All,
At runtime I need to get a list of /all/ the actions that are defined in
Struts. I'd rather not extract them directly from the conf file(s)
unless it's absolutely necessary, but I don't (readily) see an API for
doing this so I might be forced into it.
I do see that you can pattern match aga
9 matches
Mail list logo