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
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
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
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,
-
(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
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
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
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
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
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
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
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.
12 matches
Mail list logo