Hi,
I have my application.properties file stored in the classes directory. But
the application is unable to locate and load this file. Any tips would be of
great help.
Thanks,
Samanth Athrey
-
To unsubscribe, e-mail: [EMAIL P
ED] <[EMAIL PROTECTED]>
Date : mercredi 13 août 2003 16:57
Objet : application.properties file location
>Hi,
>
>I have my application.properties file stored in the classes directory. But
>the application is unable to locate and load this file. Any tips would be
of
>great
ubject: RE: application.properties file location
IMO, struts config. I didn't know you could do it in the web.xml, never had
to, works great in the struts config.
-Original Message-
From: Kommana, Sridhar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:58 PM
To: Struts Use
t: RE: application.properties file location
what is the best place to specify application.properties file in either
web.xml or struts-config.xml ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
t;[EMAIL PROTECTED]>
À : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : mercredi 13 août 2003 16:57
Objet : application.properties file location
>Hi,
>
>I have my application.properties file stored in the classes directory. But
>the application is unable to locate and load this file
file location
Do you have the application param specified for the action servlet in your
web.xml? If not, I would suggest you look at a standard setup in the
examples and see how they reference the application.properties file.
Here is how I do it in one instance:
action
" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: application.properties file location - Internationalisation
Date: Wed, 13 Aug 2003 13:52:44 -0400
I think everything is supported except diagonal right to left (or is it
diagonal left
List' <[EMAIL PROTECTED]>
Subject: RE: application.properties file location
Date: Wed, 13 Aug 2003 11:51:53 -0400
From what you are saying I think you should try:
in your struts config file. Since you specifically say
"application.properties" as the name of your file.
For instance my
what is the best place to specify application.properties file in either web.xml or
struts-config.xml ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t: RE: application.properties file location - Internationalisation
Also I was curious about languages ( i.e.Arabic based) which are written
from right to left.
Can I have a sample file with right to left text
which says the following
welcome.title=Welcome title
welcome.heading=Welcome heading
welcome.message=T
,
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:13 PM
To: 'Struts Users Mailing List'
Subject: RE: application.properties file location
IMO, struts config. I didn't know you could do it in the web.xml, never had
to, works grea
rename this right to left file to application.properties
and try it out.
Thanks
From: "Bailey, Shane C." <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
S
can verify.
-Original Message-
From: message message [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 12:35 PM
To: [EMAIL PROTECTED]
Subject: RE: application.properties file location - Internationalisation
In theory if you have a file called application_fr.properties in you
Play about with it until it works.
From: "Samanth Athrey" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: application.properties file location
Date: Wed, 13 Aug 2003 20:27:23 +0530
Hi,
I have my appli
It will take default one
Regards
Rohit
-Original Message-
From: message message [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 11:01 PM
To: [EMAIL PROTECTED]
Subject: RE: application.properties file location - Internationalisation
In theory if you have a file called
Do you have the application param specified for the action servlet in your
web.xml? If not, I would suggest you look at a standard setup in the
examples and see how they reference the application.properties file.
Here is how I do it in one instance:
action
org.apache.struts.actio
List' <[EMAIL PROTECTED]>
Subject: RE: application.properties file location
Date: Wed, 13 Aug 2003 11:51:53 -0400
From what you are saying I think you should try:
in your struts config file. Since you specifically say
"application.properties" as the name of your file.
For instance my
> However what happens if the browser is configured to
> spanish when you only have a file for French and English ?
> Is there a default or will this cause an error ?
It will fall back to using the default resources
defined in "application.properties".
If you do not have a default properties fil
MAIL PROTECTED]
cc:
Subject: application.properties file location
Hi,
I have my application.properties file stored in the classes directory. But
the application is unable to locate and load this file. Any tips would be
of
great hel
19 matches
Mail list logo