ok, this solved my question by telling me to upgrade :-) Prior to that I passed an <init-param>application... parameter to my servlet but the associated ActionForm could not use it then.
Thank you very much :-) Barbara ----- Original Message ----- From: James Holmes <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Sent: Friday, June 14, 2002 4:09 PM Subject: Re: MessageResources configuration line to struts-config.xml ? > Oops, sorry for the confusion. The > <message-resources> tag is new in 1.1 and thus is only > available in Struts 1.1b. > > Here are links to both the 1.0 and 1.1 DTDS: > http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd > http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd > > -james > [EMAIL PROTECTED] > http://www.jamesholmes.com/struts/ > > > --- Barbara Post <[EMAIL PROTECTED]> wrote: > > Hi James, thanks for this, gotta give a try. > > > > Can you point me to the right tag in the DTD ? guess > > that I cannot see it > > because I have printed it out in black :-p > > > > I use Struts 1.0.2, should I move to 1.1b ? Gotta > > see if it's out of beta > > state... > > > > Barbara > > ----- Original Message ----- > > From: James Holmes <[EMAIL PROTECTED]> > > To: Struts Users Mailing List > > <[EMAIL PROTECTED]> > > Sent: Friday, June 14, 2002 4:02 PM > > Subject: Re: MessageResources configuration line to > > struts-config.xml ? > > > > > > > If you use the Struts Console to edit your config > > file > > > it will properly place the <message-resources> tag > > in > > > your file to comply with the DTD. > > > > > > Struts Console: > > > http://www.jamesholmes.com/struts/ > > > > > > The thread you mention below explains what value > > to > > > set based on what you name your properties file > > and > > > what hierarchy it's in. > > > > > > -james > > > [EMAIL PROTECTED] > > > > > > > > > --- Barbara Post <[EMAIL PROTECTED]> wrote: > > > > I have been reading (really... lol) this thread > > : > > > > > > > > > > http://www.mail-archive.com/struts-user@jakarta.apache.org/msg33807.html > > > > but according to struts-config.xml's dtd dunno > > where > > > > to put the tag, and > > > > which tag, to indicate the location (class) of > > my > > > > MessageResources > > > > .properties file ! > > > > > > > > The message told to do so : > > > > 1. Define the Resource bundle in the > > > > struts-config.xml file. If you have a > > > > resource > > > > bundle by name > > > > FormErrorResources.properties, then define > > it as > > > > follows: > > > > <message-resources > > > > parameter="com.myDomain.FormErrorResources" /> > > > > > > > > > > > > > > > > Thanks for any clue. > > > > > > > > Barbara > > > > > > > > > > > > > > > > > > ____________________________________________________________________________ > > __ > > > > ifrance.com, l'email gratuit le plus complet de > > > > l'Internet ! > > > > vos emails depuis un navigateur, en POP3, sur > > > > Minitel, sur le WAP... > > > > http://www.ifrance.com/_reloc/email.emailif > > > > > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! - Official partner of 2002 FIFA World Cup > > > http://fifaworldcup.yahoo.com > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > ____________________________________________________________________________ __ > > ifrance.com, l'email gratuit le plus complet de > > l'Internet ! > > vos emails depuis un navigateur, en POP3, sur > > Minitel, sur le WAP... > > http://www.ifrance.com/_reloc/email.emailif > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>