RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Abdullah Jibaly
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 > &

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Brantley Hobbs
> 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

Re: Get a list of defined Struts actions at runtime

2006-03-24 Thread Hubert Rabago
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

Re: Get a list of defined Struts actions at runtime

2006-03-24 Thread Hubert Rabago
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

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Brantley Hobbs
> 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

Re: Get a list of defined Struts actions at runtime

2006-03-24 Thread Vinny
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

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Brantley Hobbs
> > 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

Re: Get a list of defined Struts actions at runtime

2006-03-23 Thread Antonio Petrelli
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

Get a list of defined Struts actions at runtime

2006-03-22 Thread Brantley Hobbs
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