On Wed, 20 Nov 2002, Jana Navaneethan wrote:

> Thanks to every one for your valuable suggestions!
>
> I have decided to go with converting .html to .jsp and use properties for
> serving these messages. Now my properties file has 600 lines of code is it
> large? or is it OK?  I believe this file is loaded only once by the Action
> Servlet and kept in memory right? Will there be any memory issues? or
> Performance down grades because of this huge properties file. Is there any
> other better way of doing this? Any suggestions would be greatly
> appreciated!

600 lines is nothing to worry about. I have an application in production
that uses multiple properties files, and just one of those has around 3500
lines. You have plenty of breathing room yet. ;-)

--
Martin Cooper


>
> Thanks in advance,
> Jana.
>
>
> ----- Original Message -----
> From: "Steven Banks" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, November 20, 2002 10:25 AM
> Subject: Re: How to build Multi-Lingual Web Site?
>
>
> > I asked this question a while back and got some very good answers.  If you
> do a search on these archives on "internationalizing large amounts of text"
> you will get several ideas.
> >
> > Steven
> >
> > >>> <[EMAIL PROTECTED]> 11/19/02 06:45PM >>>
> >
> > Our application has both legal notice and privacy pages.  We opted to
> > change these from static html pages to jsps.  The conversion was
> relatively
> > painless, and it allows the use of the struts custom tags (and thus
> > locale-specific text and images).  In our case, the client is fine
> > maintaining the verbage used on these pages in properties files than
> > editing the static html directly.
> >
> > We keep our image file paths in the properties file and use the scrkey
> > attribute to of the html:image tag  to reference them.  This allows us to
> > have locale-specific images as well as text.
> >
> > Jim
> >
> >
> >
> >
> >                       "Jana Navaneethan"
> >                       <jana.navaneethan@la        To:       "Struts Users
> Mailing List" <[EMAIL PROTECTED]>
> >                       bs.gte.com>                 cc:
> >                                                   Subject:  How to build
> Multi-Lingual Web Site?
> >                       11/19/2002 04:02 PM
> >                       Please respond to
> >                       "Struts Users
> >                       Mailing List"
> >
> >
> >
> >
> >
> >
> > Hi,
> >         We have a multi-lingual application. We are trying to convert our
> > existing application using STRUTS. We have few static HTML pages (.html)
> > How
> > to serve this pages to the User? because these are not JSP pages and I
> > can't
> > use <bean:message>  and the it has lot of static content for example
> > privacy
> > policy? I tried to convert them to .jsp and convert all the static text in
> > to messages. Since the file is huge Is there any other better way of doing
> > this? Also We need to serve the user with different images (Language
> > specific) in our JSP Pages how to do that?
> >
> > Any help would be greatly appreciated!
> >
> > Thanks,
> > Jana.
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <
> > mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <
> > mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to