Why are you using modules? You could just have one module with multiple
configuration files.
On 8/20/07, temp temp <[EMAIL PROTECTED]> wrote:
>
> My application has several modules (several struts-config files
> )and each module has its own application.resources files.
> How to handle m
My application has several modules (several struts-config files )and
each module has its own application.resources files.
How to handle multiple application.resource files ?
Sairam
-
Luggage? GPS? Comic books?
Check out fitting gift
OK, the solution with i18nResourceProvider in displaytag.properties works
PERFECT for Struts 1 - but in Struts 2 I have a trouble - it doesn't work.
Any suggestions?
--
View this message in context:
http://www.nabble.com/Displaytag-reading-column-titles-from-application-resources-file-tf4
4:13 AM
Subject: Accessing Application Resources file
Hi,
I want to retireve a message from application
resources file.
This is my code..
resources
=(MessageResources)pageContext.getRequest().getAttribute(
Action.MESSAGES_KEY );
format = (String)
resources.getMessage("display.currency"
Hi,
I want to retireve a message from application
resources file.
This is my code..
resources
=(MessageResources)pageContext.getRequest().getAttribute(
Action.MESSAGES_KEY );
format = (String)
resources.getMessage("display.currency" );
This works fine. But only iss
I can't remember the last time I felt so embarrassed. With 30+ years of
writing code and get this.
The Application that I copied the page from had the code fragment
ERROR: Application resources not loaded -- check servlet container
logs for error messages.
Thanks
-Ori
environment).
-Original Message-
From: Adam J Samere [mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 10:28 PM
To: Struts Users Mailing List
Subject: Re: Application Resources
Try using more verbose logging. If using log4j for instance, set the level
for org.apache.struts to debug,
s running Tomcat from the command
line (again, windows environment).
-Original Message-
From: Adam J Samere [mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 10:28 PM
To: Struts Users Mailing List
Subject: Re: Application Resources
Try using more verbose logging. If using log4j fo
because in the beginning I
didn't include this file because I use JSTL fmt tags to display my messages.
I have just included the mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 7:03 PM
To: 'Struts Users Mailing List'
Subject: RE: Application Resources
If you are using T
day, September 11, 2006 10:35 PM
To: Struts Users Mailing List
Subject: RE: Application Resources
I have checked all of the logs. I have built many Struts applications in
the past using previous versions of struts and Tomcat. If I knew what exact
Application resource the message is about, I could m
didn't include this file because I use JSTL fmt tags to display my messages.
I have just included the mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 7:03 PM
To: 'Struts Users Mailing List'
Subject: RE: Application Resources
> If you are using Tomcat, have you looked in
D]
Sent: Monday, September 11, 2006 9:43 PM
To: 'Struts Users Mailing List'
Subject: RE: Application Resources
Ray,
What application server are you using? Tomcat?
If you are using Tomcat, have you looked in stderr and stdout files for
today in that directory? (Not sure how much help I can
: Ray Madigan [mailto:[EMAIL PROTECTED]
Sent: Monday, September 11, 2006 9:51 PM
To: Struts Users Mailing List
Subject: Application Resources
I haven't written a Struts application for over a year now and I am having
some trouble. I have an application configured with only a welcome page
I haven't written a Struts application for over a year now and I am having
some trouble. I have an application configured with only a welcome page
taken from the Struts blank application. No matter what I do to display
this page I get the message
ERROR: Application resources not loaded --
tml#section6
Niall
> Thanks and regards
> Shasi
>
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 08, 2006 7:20 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Reg: use of Application Resources
>
>
>
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 08, 2006 7:20 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Reg: use of Application Resources
Yes, you can specify an alternate "bundle" in the relevant tags, and
load the
Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Reg: use of Application Resources
Yes, you can specify an alternate "bundle" in the relevant tags, and
load the bundle in the struts-config. For a concrete exampole, see the
MailReader application that is bundled with Struts Ac
d.
On 4/8/06, Shasirekha Engala <[EMAIL PROTECTED]> wrote:
> Hi
>
> can we use more than one Application Resources files in a jsp using
>
>
>
>
> Shasi
>
>
>
>
>
>
> -
> To uns
Hi
can we use more than one Application Resources files in a jsp using
Shasi
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ilto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 2:26 PM
To: Struts Users Mailing List
Subject: Re: application resources on iplanet
But the properties is on WEB-INF/classes/resources/portal.properties, is
this path on the classpath by default, isn´t?
It´s a war file and the classes within WEB-
y, February 21, 2006 2:26 PM
> To: Struts Users Mailing List
> Subject: Re: application resources on iplanet
>
> But the properties is on WEB-INF/classes/resources/portal.properties, is
> this path on the classpath by default, isn´t?
>
> It´s a war file and the classes within WEB
: Tuesday, February 21, 2006 2:26 PM
To: Struts Users Mailing List
Subject: Re: application resources on iplanet
But the properties is on WEB-INF/classes/resources/portal.properties, is
this path on the classpath by default, isn´t?
It´s a war file and the classes within WEB-INF/classes are found
ot; bundle, are you
sure that the resource.portal is in IPlanets classpath? If not, it will not find it.
-Original Message-
From: Raúl Eduardo Plata [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 2:01 PM
To: Struts Users Mailing List
Subject: application resources on iplane
To: Struts Users Mailing List
Subject: application resources on iplanet
Hi i am deploying on tomcat, but now i need to move to my production
environment iPlanetTM Web Server, Enterprise Edition 6.0, and i having
problems with the application resource properties, the same war works
fine on tomc
Hi i am deploying on tomcat, but now i need to move to my production
environment iPlanetTM Web Server, Enterprise Edition 6.0, and i having
problems with the application resource properties, the same war works
fine on tomcat and sun one app server 6.1 SP4, but with this server
(iplanet 6.0) it
Subject
Please respond to Re: Displaytag reading column
"Struts Users titles from application resources
Mailing List" file
reading column titles from
Mailing List" application resources file
<[EMAIL PROTECTED]
-
From: "David Whipple" <[EMAIL PROTECTED]>
To:
Sent: Thursday, October 20, 2005 4:30 PM
Subject: Displaytag reading column titles from application resources file
I am having trouble trying to use Displaytag tag and reading the titles
for
the columns out of my application re
David Whipple wrote:
...
You have a property called "" in your application
resources file?
If so, I guess I don't know, but I'd probably yell at you for a weird
resource name.
Dave
-
To
I am having trouble trying to use Displaytag tag and reading the titles for
the columns out of my application resources file.
I have tried:
...
But it does not seem to read anything.
I have tried searching for the answer, but haven't found anything that I
can make work.
Does a
Hi
I created main module and user module separately and used separate strus
configurations for main module and user module
Here I have included main module application resources in main
struts-confiration file and user module appliaction resources in user struts
configuration file
Hello,
I had a design question about customizing message
resources per user.
The obvious route for such a thing would be to create
a custom MessageResource object to implement the
services I need. This is easy enough if the the
message resources were only going to be used at the
Action level, as
pplication resources !!!
Hello,
Is it possible to reload the resource properties fot Struts appliction?
The application resources are specifiy in struts-cong.xml, is it possible to
reload it in run-time ???
Sometimes I will modify the messages resource properties, I have to restart
the web app
pplication resources !!!
Hello,
Is it possible to reload the resource properties fot Struts appliction?
The application resources are specifiy in struts-cong.xml, is it possible to
reload it in run-time ???
Sometimes I will modify the messages resource properties, I have to restart
the web app
Hello,
Is it possible to reload the resource properties fot Struts appliction?
The application resources are specifiy in struts-cong.xml, is it possible to
reload it in run-time ???
Sometimes I will modify the messages resource properties, I have to restart
the web app after the modification
, Jan
> -Original Message-
> From: Jan Behrens [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 24, 2004 7:20 PM
> To: 'Struts Users Mailing List'
> Subject: application resources and escape characters
>
>
> Hi list,
>
> I extract language specific messages from
Hi list,
I extract language specific messages from the struts application resources
within my applications logic to generate the subject and body of auto
generated emails. I used to do this via string constants but switched over
to using the resources. Everything works fine except the line breaks
To: [EMAIL PROTECTED]
Subject: Application Resources application.properties
How can I get access to the Application Resources (application.properties) in
the java code?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
les.
-->ApplicationResources2.properties
Cheers,
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of j h
> Sent: Thursday, July 08, 2004 12:00 PM
> To: [EMAIL PROTECTED]
> Subject: Application Resources application.properties
>
>
> How can I
How can I get access to the Application Resources (application.properties) in
the java code?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Application Resources...???
Depending where your error messages are located (in
ApplicationResources1 or ApplicationResources2), you should specify the
"bundle" to use:
Omitting the bundle will result (by default) of looking for the
defined without the key="" attribute. T
s.java:1103)
at
org.apache.struts.util.RequestUtils.present(RequestUtils.java:1408)
Should I provide any key to tag.
Regards,
Viral
-Original Message-
From: Susan Bradeen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 5:37 PM
To: Struts Users Mailing List
Subject: Re: Multiple Application Resources..
key to tag.
Regards,
Viral
-Original Message-
From: Susan Bradeen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 5:37 PM
To: Struts Users Mailing List
Subject: Re: Multiple Application Resources...???
"Viral_Thakkar" <[EMAIL PROTECTED]> wrote on 06/30/2
"Viral_Thakkar" <[EMAIL PROTECTED]> wrote on 06/30/2004 07:23:00
AM:
> Hi all,
>
> As of now I have a following entry in web.xml for an
> ApplicationResources.properties file.
>
>
> application
> ApplicationResources
>
>
> I have tried the one approach as mentioned below but it
Hi all,
As of now I have a following entry in web.xml for an
ApplicationResources.properties file.
application
ApplicationResources
I have tried the one approach as mentioned below but it didn't work..
application
ApplicationResources1,ApplicationResources2
Is there an
Thanks for your replies,
Setting the filter did the trick
CH
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 10 June 2004 16:12
To: Struts Users Mailing List
Subject: RE: Application Resources Question
>> >help.info = First sentence of help. Second
p/jstl/1.1/docs/tlddocs/c/out.html
This is not a problem specific to application resources; it would
apply to any value displayed with these tags.
Joe
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"In fact, when I die, if I don't hear 'A Love Supre
D]>
Sent: Thursday, June 10, 2004 3:10 PM
Subject: RE: Application Resources Question
Thanks for your reply.
I'm using struts 1.1. I'm retrieving the values through an action class. The
option value is passed from a jsp and the class looks up the corresponding
resource.
For example
--
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 6:33 AM
To: Struts User Mailing List
Subject: Application Resources Question
Hi,
I am trying to format some text so that it appears on separate lines so I am
using the tag in my ApplicationResources.properties file
;'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: Application Resources Question
Date: Thu, 10 Jun 2004 15:10:04 +0100
Thanks for your reply.
I'm using struts 1.1. I'm retrieving the values through an action class.
The
option value is passed from a jsp and t
sulting jsp?
Thanks
-Original Message-
From: Frank Zammetti [mailto:[EMAIL PROTECTED]
Sent: 10 June 2004 14:52
To: [EMAIL PROTECTED]
Subject: RE: Application Resources Question
I just tried this, and the get rendered properly and I get linebreaks.
What version of Struts are you using? What
ED]>
To: "Struts User Mailing List" <[EMAIL PROTECTED]>
Subject: Application Resources Question
Date: Thu, 10 Jun 2004 14:32:58 +0100
Hi,
I am trying to format some text so that it appears on separate lines so I
am
using the tag in my ApplicationResources.properties fil
Hi,
I am trying to format some text so that it appears on separate lines so I am
using the tag in my ApplicationResources.properties file.
help.info = First sentence of help. Second sentence Third etc...
The tag is coming out as text on the page and in the source it is
translated as
Title: Message
Hi,
I'm trying to make
Struts to use EJB's AND files to get the Resource
propperties.
For example, I'll
have standard (static) App-resources files under (for instance)
WEB-INF/classes/acme/Application.properties and I'll have an
EJB under (for example [jndiName]) "acme/App
Perfect.
Thanks Mark!
> Da: Mark Lowe <[EMAIL PROTECTED]>
> Data: Wed, 12 May 2004 09:23:07 +0200
> A: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Oggetto: Re: Tiles - Application Resources problem
>
>
>
>
>
> or
>
>
>
or
or in tc5 with el on
On 12 May 2004, at 09:13, Marco Rossi wrote:
Hi,
I want to set the title of my jsp page in the tiles definition file.
So I have the following situation:
and in classicLayout
…
But I need to have something like this:
"/>
to hav
Hi,
I want to set the title of my jsp page in the tiles definition file. So I have the
following situation:
and in classicLayout
But I need to have something like this:
"/>
to have a multilingual title.
Any suggestion?
_
57 matches
Mail list logo