struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Holmes <jholmes...@yahoo.com>
Subject Re: MessageResources configuration line to struts-config.xml ?
Date Fri, 14 Jun 2002 14:09:29 GMT
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
james@jamesholmes.com
http://www.jamesholmes.com/struts/


--- Barbara Post <babs33@ifrance.com> 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 <jholmes612@yahoo.com>
> To: Struts Users Mailing List
> <struts-user@jakarta.apache.org>
> 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
> > james@jamesholmes.com
> >
> >
> > --- Barbara Post <babs33@ifrance.com> 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:struts-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:struts-user-help@jakarta.apache.org>
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
> 
>  
>
______________________________________________________________________________
> 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:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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


Mime
View raw message