Thanks for the information. Could you tell me where I can find some
documentation on JavaServerFace ?

Erez

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 11, 2003 2:50 AM
To: Struts Users Mailing List
Subject: RE: message localization

On Mon, 11 Aug 2003, Erez Efrati wrote:

> Date: Mon, 11 Aug 2003 03:09:56 +0200
> From: Erez Efrati <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: message localization
>
> In Struts <bean:message key= > the default bundle is used without
having
> to declare it in each page. How can this be done in JSTL?
>

There's a context init parameter to set the default resource bundle
name.
See Section 8.11.3.

> Now just to make sure, again, is it recommended to make the transition
> to these JSTL tags or is it safe to stay with the Struts ones?

Either one will work fine, last a long time, as long as you're running
on
a Servlet 2.3 / JSP 1.2 or later container.  If you're on an earlier
version, your only choice is the Struts tags.

My recommendation is that new projects should use JSTL and struts-el
tags
(if you're on the appropriate container).  For existing apps, there is
no
compelling reason to change, other than perhaps to use those changes as
a
learning experience.

You're likely to see exactly the same sort of transition be recommended
on
the Struts HTML tags, once JavaServer Faces goes final.  In the mean
time,
there's an integration library that lets you mix in the current EA
release
with Struts 1.1:

http://jakarta.apache.org/builds/jakarta-struts/release/struts-faces/

>
> Erez

Craig

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




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

Reply via email to