You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lukas Bradley <lu...@somnia.com> on 2003/11/03 23:40:07 UTC

ActionMessage key location

Hi all,

Is there any way to have an ActionMessage key/value pair defined in a
property file other than the default

<message-resources parameter="MyTerms" null="false"/>

location?  It seems to be the only place my errors and messages can be
found.

Lukas







---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: struts and filters

Posted by atta-ur rehman <at...@numetrics.com>.
sure, it will!
----- Original Message ----- 
From: "jeff" <je...@hrra.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Tuesday, November 04, 2003 1:37 PM
Subject: struts and filters


> will struts work with filters ?
> i am using filters now, and want to start using struts.
> 
> 
> thanks,
> 
> jeff
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: struts and filters

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
On 11/05/2003 09:43 AM Andrew Hill wrote:
> <snip>
> that's a bit like asking "will servlets work with filters?" or "will
> JSPs work with filters?" or even "will MVC work with filters?"
> </snip>
> 
> The answer to which is NO if running under a Servlet API 2.2 container...
> ;-)

Well strike me down for misleading the poor guy.... :)


Adam

-- 
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: struts and filters

Posted by Andrew Hill <an...@gridnode.com>.
<snip>
that's a bit like asking "will servlets work with filters?" or "will
JSPs work with filters?" or even "will MVC work with filters?"
</snip>

The answer to which is NO if running under a Servlet API 2.2 container...
;-)

-----Original Message-----
From: Adam Hardy [mailto:ahardy.struts@cyberspaceroad.com]
Sent: Wednesday, 5 November 2003 16:42
To: Struts Users Mailing List
Subject: Re: struts and filters


On 11/04/2003 10:37 PM jeff wrote:
> will struts work with filters ?
> i am using filters now, and want to start using struts.

Jeff,
that's a bit like asking "will servlets work with filters?" or "will
JSPs work with filters?" or even "will MVC work with filters?"

Struts is compatible with filters, although there is always lee-way for
your filters to mess things up for struts, depending on what they do.

Adam

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: struts and filters

Posted by Adam Hardy <ah...@cyberspaceroad.com>.
On 11/04/2003 10:37 PM jeff wrote:
> will struts work with filters ?
> i am using filters now, and want to start using struts.

Jeff,
that's a bit like asking "will servlets work with filters?" or "will 
JSPs work with filters?" or even "will MVC work with filters?"

Struts is compatible with filters, although there is always lee-way for 
your filters to mess things up for struts, depending on what they do.

Adam

-- 
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: struts and filters

Posted by Vic Cekvenich <ce...@baseBeans.com>.
jeff wrote:

> will struts work with filters ?
>

Yes.

.V



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: struts and filters

Posted by David Graham <gr...@yahoo.com>.
--- jeff <je...@hrra.net> wrote:
> will struts work with filters ?
> i am using filters now, and want to start using struts.

The two topics are not really related.  You can use one without the other
or together.  

David

> 
> 
> thanks,
> 
> jeff
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


struts and filters

Posted by jeff <je...@hrra.net>.
will struts work with filters ?
i am using filters now, and want to start using struts.


thanks,

jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: ActionMessage key location

Posted by Manish Singla <Ma...@Sun.COM>.
Hope this helps

<message-resources parameter="MyTerms" null="false"/>

<message-resources parameter="MyMsgs" null="false" key="messagesOne" />

<message-resources parameter="resources.MyOtherMsgs" null="false" 
key="messagesTwo" />


Lukas Bradley wrote:
> Hi all,
> 
> Is there any way to have an ActionMessage key/value pair defined in a
> property file other than the default
> 
> <message-resources parameter="MyTerms" null="false"/>
> 
> location?  It seems to be the only place my errors and messages can be
> found.
> 
> Lukas
> 
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


-- 
Thanks
Manish Singla
x73166


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: ActionMessage key location

Posted by Lukas Bradley <lu...@somnia.com>.
Actually, it doesn't help.  How do I then create an ActionMessage
referencing the "messagesOne" resource?


Lukas



Hope this helps

<message-resources parameter="MyTerms" null="false"/>

<message-resources parameter="MyMsgs" null="false" key="messagesOne" />

<message-resources parameter="resources.MyOtherMsgs" null="false"
key="messagesTwo" />


"Lukas Bradley" <lu...@somnia.com> wrote in message
news:bo6lgd$lul$1@localhost.localdomain...
> Hi all,
>
> Is there any way to have an ActionMessage key/value pair defined in a
> property file other than the default
>
> <message-resources parameter="MyTerms" null="false"/>
>
> location?  It seems to be the only place my errors and messages can be
> found.
>
> Lukas




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org