RE: [REPOST] Get Raw Action Path.

2004-10-21 Thread Alan Pocklington
Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Alan Pocklington Sent: Friday, October 15, 2004 10:55 AM To: [EMAIL PROTECTED] Subject: Re: [REPOST] Get Raw Action Path. Thanks for the pointer. I've been looking through the RequestProcessor source without any luck so far. Maybe

[REPOST] Get Raw Action Path.

2004-10-15 Thread Alan Pocklington
I have an Action defined as: action path=/myaction/** type=...MyAction/ 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

Re: How to read MessageResources.

2004-10-14 Thread Alan Pocklington
Alan Pocklington wrote: Oh okay, I'll look into that. Thanks for your help. Hubert Rabago [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Struts has some special treatment for locales. You'd wanna abide by that for consistency with what its internal engine uses for the resource files

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, -

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
(UTC), Alan Pocklington [EMAIL PROTECTED] wrote: 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

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
resources instance return ((MessageResources) servletContext.getAttribute (bundle + moduleConfig.getPrefix())); } On Wed, 13 Oct 2004 15:24:27 + (UTC), Alan Pocklington [EMAIL PROTECTED] wrote: Hi, I want my action to read a property from

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
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:35:24 + (UTC), Alan Pocklington [EMAIL PROTECTED] wrote: Wow, thanks for the quick reply. Will do

Re: How to read MessageResources.

2004-10-13 Thread Alan Pocklington
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 getLocale(request) method? I'm guessing the implementation was different from just request.getLocale

How to get at Action Path?

2004-10-08 Thread Alan Pocklington
I have an Action defined as: action path=/myaction/** type=...MyAction/ 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

How To Get At Action Path?

2004-10-08 Thread Alan Pocklington
I have an Action defined as: action path=/myaction/** type=...MyAction/ 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

jsp:plugin Struts.

2004-05-27 Thread Alan Pocklington
Hi, Is there a Struts version of the jsp:plugin tag? What I'm trying to do is something along the following lines: jsp:plugin type=applet name=appletName code=com.xxx.applet.class archive=%=archive%/ Ideally I'd like a html:rewrite tag to generate the path

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: bean:define id=archivehtml:rewrite ...//bean:define and then use it just like have below.