RE: [REPOST] Get Raw Action Path.

2004-10-21 Thread Alan Pocklington
result) { > > // ** Okay, now what do YOU want > // to do here? Now that you've found > // the regular pattern, or wildcard > // expression? > break; >

Re: [REPOST] Get Raw Action Path.

2004-10-15 Thread Alan Pocklington
on > itself for every request, and during that time many attributes are set > and/or removed from various scopes. > > I do recall that the controller Servlet mapping was available. Not > sure about specific Action mappings. > > Erik > > > > Alan Pocklington w

[REPOST] Get Raw Action Path.

2004-10-15 Thread Alan Pocklington
I have an Action defined as: Within the Action class itself I want to get at the path attribute as defined in the config file, i.e. /myaction/**. I can get the requested path, for example /myaction/somepath/xxx.do via actionMapping.getPath() but not the original path to which the a

Re: How to read MessageResources.

2004-10-14 Thread Alan Pocklington
ker you can grok Struts. > > -Bill Siggelkow > > Alan Pocklington wrote: > >> Oh okay, I'll look into that. Thanks for your help. >> >> Hubert Rabago <[EMAIL PROTECTED]> wrote in >> news:[EMAIL PROTECTED]: >> >> >>>Struts ha

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
files. > > > On Wed, 13 Oct 2004 15:54:02 + (UTC), Alan Pocklington > <[EMAIL PROTECTED]> wrote: >> Cheers for pointing that out. As of yet I don't need message >> arguments so that'll be fine. >> >> Was there any reason for having a getLocal

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
. Check the getMessage() method -- it can > actually accept message arguments, but the evaluateMessage() doesn't > use them. If you do need them, just modify evaluateMessage() to also > accept an argument parameter. > Sorry about that. > >> >> On Wed, 13 Oct 2004 15:3

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
004 15:35:24 + (UTC), Alan Pocklington > <[EMAIL PROTECTED]> wrote: >> Wow, thanks for the quick reply. Will do! >> >> Hubert Rabago <[EMAIL PROTECTED]> wrote in >> news:[EMAIL PROTECTED]: >> >> >> >> > Put this in a util c

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
ext) { > > // Identify the current module > ModuleConfig moduleConfig = > ModuleUtils.getInstance().getModuleConfig( > request, servletContext); > > // Return the requested message resources instance > retu

How to read MessageResources.

2004-10-13 Thread Alan Pocklington
Hi, I want my action to read a property from the MessageResources.properties file in the same way that ActionMessages does. What's the simplest code I can use to retreive a particular property's value? Thanks in advance, -

How To Get At Action Path?

2004-10-08 Thread Alan Pocklington
I have an Action defined as: Within the Action class itself I want to get at the path attribute, i.e. /myaction/**. I can get the requested path, for example /myaction/somepath/xxx.do via actionMapping.getPath() but not the original path to which the action was mapped. Is there an

How to get at Action Path?

2004-10-08 Thread Alan Pocklington
I have an Action defined as: Within the Action class itself I want to get at the path attribute, i.e. /myaction/**. I can get the requested path, for example /myaction/somepath/xxx.do via actionMapping.getPath() but not the original path to which the action was mapped (/myaction/**

Re: jsp:plugin & Struts.

2004-05-27 Thread Alan Pocklington
Cheers, that works great. Many thanks, Alan. Kris Schneider <[EMAIL PROTECTED]> wrote in news:1085665492.40b5f0d48e866 @internal.dotech.com: > > > > and then use it just like have below. - To unsubscribe, e-mail: [EMAIL

jsp:plugin & Struts.

2004-05-27 Thread Alan Pocklington
Hi, Is there a Struts version of the tag? What I'm trying to do is something along the following lines: Ideally I'd like a html:rewrite tag to generate the path to the applet's JAR, but I can't achieve this directly or indirectly via a scriptlet. If there isn't a struts version of the jsp:p