Buenos
I am glad to hear you have a solution!
Saludos Cordiales (desde EEUU)
Martín
__
Porfavor..no altere o interrumptir esta communicacion...Gracias
To: user@struts.apache.org
Subject: Tr : Refresh Message Resources
From: pedrofelipe.co
method , so
i just had to override that version either.
With the best regards.
Pedro Costa
- Forwarded by Pedro Felipe COSTA/BPSS/FR/EUROPE/GROUP on 04-09-2012
14:37 -
Refresh Message Resources
Pedro Felipe COSTA
Contractor
To:
user
04-09-2012 10:26
From:
Pedro Felipe COSTA
Good Morning in my timezone.
I changed the struts framework(1.2.9) to load the message resources from
the database instead from property files.
I extended one class from the org.apache.struts.util.MessageResources
class and another one from the
org.apache.struts.util.MessageResourcesFactory
May need more to go on.
Dave
(pardon brevity and typos, on cell)
On Apr 1, 2012 2:11 PM, "Gopinath.M" wrote:
> Please check struts-config.xml file.
>
>
Here's a simpler explanation of the scenario -
I have the following properties files in classes folder :
- file_a.properties
- file_b.properties
- file_c.properties
- file_d.properties
and the following struts config files along with the message-resources tags
pointing to prope
org/2.x/docs/localization.html
>
> jb
>
> On Wed, Dec 28, 2011 at 12:49 AM, Maithily >wrote:
>
> > Hi All,
> >
> > I am facing the following problem with the struts message resources
> files -
> >
> > - Our application has many functional modules and each module a
Forgive me for not fully understanding your question.
Perhaps this link will help:
http://struts.apache.org/2.x/docs/localization.html
jb
On Wed, Dec 28, 2011 at 12:49 AM, Maithily wrote:
> Hi All,
>
> I am facing the following problem with the struts message resources files -
Hi All,
I am facing the following problem with the struts message resources files -
- Our application has many functional modules and each module a struts
config file and message resources file.
- Common message resources are bundled in a single file - say
"Commonresources.prope
On this page:
http://struts.apache.org/2.2.1/docs/message-resource-files.html
Suggestion -- discuss (or at least link to) PropertyResourceBundle
MessageFormat patterns
This page should include an example to the effect of:
numUsers = {0,choice,0#No Users|1#1 User|1<{0} Users}
Suggestion -- Expand
Zaheer Mohammad [mailto:zaheer.cse4...@gmail.com]
> Sent: Friday, April 23, 2010 8:54 AM
> To: user@struts.apache.org
> Subject: Loading different Message Resources for user and
> Admin in Struts
>
> Hi Friends,
> My Requirement is to Load Different Message resource
Hi Friends,
My Requirement is to Load Different Message resource
bundles of same name and same tags with different messages in them
differently for Administrator and userin Struts Application By checking
Login User.can any One help me.
Thanks In Advance.
Zaheer Mohammad
ilto:lukasz.len...@googlemail.com]
Sent: dinsdag 13 januari 2009 14:59
To: Struts Users Mailing List
Subject: Re: [S1] message-resources
2009/1/13 Evert Lammerts :
> In the WEB-INF/src/content folder I have two files - a Messages.properties
> and Messages_en.properties, both containing a line looki
2009/1/13 Evert Lammerts :
> In the WEB-INF/src/content folder I have two files - a Messages.properties
> and Messages_en.properties, both containing a line looking like this:
Put it to WEB-INF/classes/content
Regards
--
Lukasz
http://www.lenart.org.pl/
---
Hi all,
Sorry for the repetition, but I can't seem to figure this out in spite of all
those resources you can find online.
Using struts 1.3.8 (in Liferay 5.1.2 portal on Tomcat 6.0, through the apache
bridge) I'm having trouble accessing message resources.
In a portlet I've
actions.
>> For BOs and DAOs , no scope is defined. We are using applicationContext
>> xml
>> files to define beans.
>>
>> Labels and buttons names are picked up from MessageResources.properties
>> file.
>> But on some pages these values are not picked up and
alues are not picked up and labels go missing.
>
> I am new to both Spring and Struts 2 and I am unable to figure that why
> this
> is happening.
> Message resources are loaded in context and it should be available to all.
>
> Please help me resolve this issue.
>
> Thanks
labels go missing.
I am new to both Spring and Struts 2 and I am unable to figure that why this
is happening.
Message resources are loaded in context and it should be available to all.
Please help me resolve this issue.
Thanks in advance,
Rajiv
--
View this message in context:
http://www.
laredotornado wrote:
Hi,
I'm using Struts 1. We want to load our message resources properties,
currently defined in our struts-config.xml file:
from a database. Now of course, they are in a file called
"MessageResources.properties". What is the proper way to do this?
Yo
Hi,
I'm using Struts 1. We want to load our message resources properties,
currently defined in our struts-config.xml file:
from a database. Now of course, they are in a file called
"MessageResources.properties". What is the proper way to do this?
Thanks, - Dave
--
View
Hi,
That was the correct path, I didn´t know about it.
Thank you for your answers, guys. ;-)
- Original Message -
From: "Lukasz Lenart" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, July 14, 2008 8:22 PM
Subject: Re: message resources ?
> The ApplicationResources.properties file is under:
> proyect_name/Webroot/WEB-INF/lib/ApplicationResources.properties
Move to the /WEB-INF/classes
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL
nal Message - From: "Lukasz Lenart"
> <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List"
> Sent: Monday, July 14, 2008 6:32 PM
> Subject: Re: message resources ???key??? displaying
>
>
>> Hi,
>>
>> How did you co
??
Regards,
- Original Message -
From: "Lukasz Lenart" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, July 14, 2008 6:32 PM
Subject: Re: message resources ???key??? displaying
Hi,
How did you configure the messages in struts-config? It sho
Hi,
How did you configure the messages in struts-config? It should be
something like this:
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Hi, I´m developing a project with Struts 1.2. When trying to display
in a jsp page, the errors saved in SaveMessages are displayed,
but not correctly, for example:
in showerrors.jsp:
???es.error.wrong.password???
instead of:
Your password is wrong.
The ApplicationResources.properties file i
Hello,
Since I have only to languages ,I have provided a button in screen and
passing url parameter "english" and "polish".
In Action file taking this language and forming locale object and setting to
ACTION method "setLocale"
Wprowadź - Enter
Above polish word is not coming exactly
Hi again,
I wrote:
>> Hi,
>>
>> Laurie Harper wrote:
>> >> Sebastian Göttschkes wrote:
>> >> >> Laurie Harper wrote:
>> >> >> Sebastian Göttschkes wrote:
>> >> >>> [...]
>> >> >>>
Hi,
Laurie Harper wrote:
>> Sebastian Göttschkes wrote:
>> >> Laurie Harper wrote:
>> >> Sebastian Göttschkes wrote:
>> >>> [...]
>> >>>
>> >>> I defined the message resources in the struts-config.xml:
>>
Sebastian Göttschkes wrote:
Laurie Harper wrote:
Sebastian Göttschkes wrote:
[...]
I defined the message resources in the struts-config.xml:
[...]
The strange thing is I didn't change anything except for the two empty files I
created. So I can say that the problem isn't hard-
Hi,
>Laurie Harper wrote:
>
>Sebastian Göttschkes wrote:
>> Hi,
>>
>> I'm experiencing strange behaviours with the message resources and I'm not
>> sure about where to find the problem.
>>
>> I defined the message
Sebastian Göttschkes wrote:
Hi,
I'm experiencing strange behaviours with the message resources and I'm not sure
about where to find the problem.
I defined the message resources in the struts-config.xml:
In the folder named in the xml (Resources/src/com/equitystory/pms/resou
Hi,
I'm experiencing strange behaviours with the message resources and I'm not sure
about where to find the problem.
I defined the message resources in the struts-config.xml:
In the folder named in the xml (Resources/src/com/equitystory/pms/resources/),
I created the follo
I tried to deploy struts application on RAD Websphere App Server 6.
it is throwing following exception
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
and on the browser it says internal server error 500
please help as what to do to
roperties. You can also put it in struts.xml as
> > > />
> >
> > -Original Message-
> > From: Pavel Sapozhnikov [mailto: [EMAIL PROTECTED]
> > Sent: Thursday, August 23, 2007 2:14 PM
> > To: Struts Users Mailing List
> > Subject: message resources in struts.xml
> &
> -Original Message-
> From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 23, 2007 2:14 PM
> To: Struts Users Mailing List
> Subject: message resources in struts.xml
>
> Hi I have a question in Struts 1 in struts-config.xml I have:
>
>
>
&
I think it is the value of struts.custom.i18n.resources in
struts.properties. You can also put it in struts.xml as
-Original Message-
From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 23, 2007 2:14 PM
To: Struts Users Mailing List
Subject: message resources in
Hi I have a question in Struts 1 in struts-config.xml I have:
What would the equivalent be in Struts2
Thank you
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
Where are the "stock" validation messages located? Are we still required to
be copy them into our application message file?
--
Scott
[EMAIL PROTECTED]
--- David Harland <[EMAIL PROTECTED]> wrote:
> In struts 1 you could access the resource bundles
> using Resources.getMessage from any class. How do
you
> do the same in struts 2 using getText.
http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/ActionSupport.html#getTexts(ja
message resources
--- David Harland <[EMAIL PROTECTED]> wrote:
> How do you use ognl to access resources outside of a class that
> extends ActionSupport. eg the struts 2 equivalent to
> Resources.getMessage but
> getText() instead
I'm not aware that you'd normally
Hi,
How do you use ognl to access resources outside of a class that extends
ActionSupport. eg the struts 2 equivalent to Resources.getMessage but
getText() instead
Thanks
Dave.
Need Mail bonding?
Go to
--- David Harland <[EMAIL PROTECTED]> wrote:
> How do you use ognl to access resources outside of a
> class that extends ActionSupport. eg the struts 2
> equivalent to Resources.getMessage but
> getText() instead
I'm not aware that you'd normally use OGNL for that;
the and tags are what (I
thin
Kranti wrote:
hi,
i have a problem related to message resources
during the login time i am doing this
session.setAttribute(Globals.LOCALE_KEY, locale);
where locale is created by the user specific language settings there in DB.
in jsp:
using this and in struts config file
and inthe same
hi,
i have a problem related to message resources
during the login time i am doing this
session.setAttribute(Globals.LOCALE_KEY, locale);
where locale is created by the user specific language settings there in DB.
in jsp:
using this and in struts config file
and inthe same directory i have
On 11/25/06, Ted Husted <[EMAIL PROTECTED]> wrote:
Essentially, you can implement the Java ResourceBundle interface
/s/implement the Java ResourceBundle interface/extend the Java
ResourceBundle class
-
To unsubscribe, e-mail:
It's actually fairly simple to do. There's a detailed example in the
WebWork in Action book (see page 375).
Struts 2 (and WW2) search the class heirarchy for message resources,
looking first for classes that
Essentially, you can implement the Java ResourceBundle interface and
have it
Hi,
We're in the process of migrating a Struts1 app to Struts2. In Struts1 we
created a subclass of PropertyMessageResources to get our messages from the
database instead of properties files. I can't seem to find how we'd go about
doing this in Struts2. Do I just subclass
com.opensymphony.xwork
gt; How to Reload Message resources i.e Resource Bundles in struts 1.1???
>
>
>
> ___
> Harsh Gupta
> Software Engineer
> MPS Technologies (A Macmillan company)
>
> Email: h [EMAIL PROTECTED]
> Web: www.mpstechnologies.com
>
> T
that using a message-resources defined with a key
does not work. I have performed many experiments to try and track the
problem down. Here's what I've discovered:
<> Using a message-resource DOES work if a key is not defined.
<> When a key is defined, having something
On 8/17/06, Harsh Gupta <[EMAIL PROTECTED]> wrote:
How to Reload Message resources i.e Resource Bundles in struts 1.1???
Create a "reloadable" message resources factory, see factory attribute
[1] of
-Rahul
[1] http://struts.apache.org/1.x/userGuide/configuration.html#
I usually just touch the web.xml, to redeploy the app, but this isn't always
feasible in production.
On 8/17/06, Harsh Gupta <[EMAIL PROTECTED]> wrote:
How to Reload Message resources i.e Resource Bundles in struts 1.1???
___
Harsh Gup
How to Reload Message resources i.e Resource Bundles in struts 1.1???
___
Harsh Gupta
Software Engineer
MPS Technologies (A Macmillan company)
Email: h <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
Web: <http://www.mpstechnol
Samere, Adam J schrieb:
Internally the DynaForm (i.e. DynaBean) uses a Map to store the
properties. This is what allows it to provide dynamic properties and
save you from writing ActionForm subclasses.
When you reference myDynaForm with a JSP Expression Language (EL)
expression like ${myDynaForm
underlying
Map, then call get(String) using the supplied property.
Make sense?
-Adam
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 9:47 AM
To: Struts Users Mailing List
Subject: Re: message resources
>
> When using EL with dyna beans you n
Marcus wrote:
>> When using EL with dyna beans you need to reference the map property
>> then your property. The struts tags (i.e. bean:write) handle this for
>> you.
>>
>>
> Or do you really mean a map? I am not using one..
...but you're using a DynaForm, so you are, so just do what he said ;)
When using EL with dyna beans you need to reference the map property
then your property. The struts tags (i.e. bean:write) handle this for
you.
Sorry,
call me dumb,
but I didn't really get what you tried to explain.
EL ?
- map property - you mean my dynaForm?
Or do you really mean a map? I
: message resources
> Nope... That means Servlet spec 2.2, which is less than you need ;)
>
> Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people
> make fun of me for it.
>
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http:
Nope... That means Servlet spec 2.2, which is less than you need ;)
Pre-advice caveat: I've never figured out XML, DOCTYPEs, and people make
fun of me for it.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xm
Marcus wrote:
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
>
>
> 2.2 means 2.0-ish, I assume?
Nope... That means Servlet spec 2.2, which is less than you need ;)
Pre-advice caveat: I've never figured out XML, DOCTYPEs, an
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
2.2 means 2.0-ish, I assume?
Marcus
Dave Newton schrieb:
Marcus wrote:
Any ideas?
What does your web.xml DOCTYPE look like? Irritatingly enough, you have
to tell Tomcat to go ahead and be 2.0-ish.
Dave
---
Marcus wrote:
> Any ideas?
What does your web.xml DOCTYPE look like? Irritatingly enough, you have
to tell Tomcat to go ahead and be 2.0-ish.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Mine is to either use a JSP 2.0 container so the original EL suggestion
${myBean.value} EL will work, or use the struts-el tags if you're using
a < JSP 2.0 container, which will do the same thing in a different way.
I am using Apache Tomcat 5.5, and AFAIK, it does support JSP 2.0.
For "myBean"
> From: Marcus [mailto:[EMAIL PROTECTED]
>
> Value "myValue" has been added.
> (With the value of "myValue" printed!)
>
Anyway, you've gotten a lot of... advice.
Mine is to either use a JSP 2.0 container so the original EL suggestion
${myBean.value} EL will work, or use the struts-el tags
>It's awfull, but assuming you have myDynaForm in some scope should work
Yes, indeed! ;-)
Isn't there something more struts like (using tags..)
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Marcus wrote:
>
I wrote:
And it returns literally:
${myDynaForm.value}
Sorry, thought bean:message was supporting el notation :)
try this
It's awfull, but assuming you have myDynaForm in some scope should work
-
To uns
implementation for error messages in my project. So, I
just sent that code to you :)
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 3:01 PM
To: Struts Users Mailing List
Subject: Re: message resources
>In your Action class, add following stateme
In your Action class, add following statements before return statement:
ActionMessages oMsgs = new ActionErrors();
oMsgs.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("myValueAdded", ""));
saveErrors(oRequest.getSession(), oMsgs);
In your jsp, you must be having
It will work.
It's no
t be having
It will work.
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 2:44 PM
To: Struts Users Mailing List
Subject: Re: message resources
>
I wrote:
And it returns literally:
${myDynaForm.value}
>What do you have in the java class
>
I wrote:
And it returns literally:
${myDynaForm.value}
What do you have in the java class for the value you want to put in your
message, is it a has table or something else ?
It's all just plain simple.
I store my value in a dynaForm, forward to an action,
compute stuff, forward to to a
Hi,
What do you have in the java class for the value you want to put in your
message, is it a has table or something else ?
Olivier.
-Message d'origine-
De : Marcus [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 juin 2006 10:58
À : Struts Users Mailing List
Objet : Re: message reso
What do you mean by " Action adds value"??
Where does Action add this value?
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 2:30 PM
To: Struts Users Mailing List
Subject: Re: message resources
>Where do you want to print this messag
Try using
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 2:28 PM
To: Struts Users Mailing List
Subject: Re: message resources
>Pass the argument {0} as follows:
>
I tried that,
but then it writes literally:
Value value has been
Marcus wrote:
Pass the argument {0} as follows:
I tried that,
but then it writes literally:
Value value has been added.
But what need the VALUE of hte variable "myValue" to be printed.
:-(
Marcus
-
To unsubscribe, e-m
I'm assuming that there is a key-value pair defined in your
message-resources (.properties) file as follows:
myValueAdded=my value {0} has been added.
And that you want to print a value at location {0} to be passed from some
jsp or some other file.
Moreover, you can pass upto 5 argu
Where do you want to print this message ?
I type in my value into a textbox.
Forward to action.
Action adds value, forwards to jsp.
Now jsp should say:
Value "myValue" has been added.
(With the value of "myValue" printed!)
What type of data do you use ?
Strings
Marcus
-
Pass the argument {0} as follows:
I tried that,
but then it writes literally:
Value value has been added.
But what need the VALUE of hte variable "myValue" to be printed.
:-(
Marcus
-
To unsubscribe, e-mail: [EMAIL PROT
Hi Marcus,
Where do you want to print this message ?
What type of data do you use ?
Regards,
Olivier
-Message d'origine-
De : Marcus [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 8 juin 2006 10:02
À : Struts Users Mailing List
Objet : message resources
Hi,
I want to print a message
Pass the argument {0} as follows:
-Original Message-
From: Marcus [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 08, 2006 1:32 PM
To: Struts Users Mailing List
Subject: message resources
Hi,
I want to print a message like this:
myValueAdded=my value{0} has been added.
How can I
Hi,
I want to print a message like this:
myValueAdded=my value{0} has been added.
How can I fill in the corresponding value?
Thx,
Marcus
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Hi
We wish to load message resources from a local url within our webapp. I can't
see an easy way to obtain servlet context within my MessageResourcesFactory /
MessageResources implementations. Am I missing something here?
Also ( yeah I know this is often raised), if I were to wipe the se
is the same as "key" in struts-config.xml) for a while, it was
only actually supported since Struts 1.2.7 and Validator 1.1.4:
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section7_2
Niall
On 5/10/06, josh t wrote:
>
>
>
> Can someone please expl
pported since Struts 1.2.7 and Validator 1.1.4:
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html#section7_2
Niall
On 5/10/06, josh t <[EMAIL PROTECTED]> wrote:
Can someone please explain to me how and where in my code I need to refer to
message-resources key?
Can someone please explain to me how and where in my code I need to refer to
message-resources key? When doing validation, how does the validator know
where to loopup the ApplicationResources? Do I need to include the key
somwhere in my validator.xml?
Thanks
PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : Wed, 15 Mar 2006 01:39:54 +0430
Subject : Cannot find message resources under key
org.apache.struts.action.MESSAGE , what could cause this ?
> Hi
> Thank you for reading my post.
> I
Hi
Thank you for reading my post.
I upload a web application to its host , it works OK until a few hours
ago , and now it shows the following exception
is there any comment about this ?
javax.servlet.jsp.JspException: Cannot find message resources under key
Thanks a lot
it works!!!
-- Initial Header ---
>From : "Anuradha S.Athreya" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : Tue, 14 Mar 2006 14:23:43 +0530
Subject : RE: Using message resour
1 PM
To: user
Subject: RE: Using message resources in non-action class
Yes this is a good solution!
Do you also have a solution
to access these message resources from a plain java-class there you don't
have the servlet context?
Nice greetings
-- Initial Header ---
>
Anuradha S.Athreya would like to recall the message, "Using message
resources in non-action class".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
PROTECTED]
Sent: Monday, March 13, 2006 2:32 PM
To: user
Subject: RE: Using message resources in non-action class
Hi This would be a very good solution but when I test it this way:
public static void main(String args[])
{
ResourceBundle messageresources =
ResourceBundle.getBundle
+0530
Subject : RE: Using message resources in non-action class
> Use resource bundle:
>
> ResourceBundle messageresources =
> ResourceBundle.getBundle("ApplicationResources");
>
> Or
>
> Properties messageresources = new Properties();
> Buffe
s.load(is);
Chandra
-Original Message-
From: starki78 [mailto:[EMAIL PROTECTED]
Sent: Monday, March 13, 2006 1:21 PM
To: user
Subject: RE: Using message resources in non-action class
Yes this is a good solution!
Do you also have a solution
to access these message resources from a plain
Yes this is a good solution!
Do you also have a solution
to access these message resources from a
plain java-class there you don't have the servlet context?
Nice greetings
-- Initial Header ---
>From : [EMAIL PROTECTED]
To : user@struts.apache.org
s Users Mailing List'
Subject: Using message resources in non-action class
In my struts application, I have resources file application.properties.
This has been configured in the struts-config.xml file
Now, I would like to use this in my source code , in a non-action
class.
I
In my struts application, I have resources file application.properties. This
has been configured in the struts-config.xml file
Now, I would like to use this in my source code , in a non-action class.
I tried the following
MessageResources messageresources =
MessageResources.getMessag
Did you define the message resources in struts-config.xml? The init
param in web.xml isn't used in current versions of Struts. Make sure you
have this in your struts-config:
L.
red phoenix wrote:
I have configure my properties file,but when run,it raise error and say
can't fi
ype="com.LogmanageAction"
> name="logmanageForm"
> validate="true"
> input="/index.jsp">
>
>
>
>
>
> application.properties is locate follow directory:
>
>
application.properties is locate follow directory:
C:\tomcat5\webapps\Log\WEB-INF\classes\resources\application.properties
When the JSP execute ,it raise following
error:
javax.servlet.ServletException: Canno
Jim Reynolds wrote:
> All is good. But I have created some tag libraries, in which run in
> the same struts app, and I need to get to them. I know you can get the
> properties from an action class through the struts api ... but is
> there anyway to get them from the application context, when you ar
I have a struts application in which I use the message resources for
most of my view pages. Using bean:message, etc.
All is good. But I have created some tag libraries, in which run in
the same struts app, and I need to get to them. I know you can get the
properties from an action class through
lay messages in JSP Page as follows
1) Successful database operations in RED color
2) Failure database operations in BLUE color
--
--
------
Message Resources
messages.header=
1 - 100 of 263 matches
Mail list logo