I am having problems with the latest I18N source.

I am getting:

Error parsing TLD '/WEB-INF/i18n.tld': The tag handler
'org.apache.taglibs.i18n.BundleTag' does not have a setter for the attribute
'localeRef' specified in the tld..

If I remove the offending reference, there are other complaints of a similiar
nature.  (next it complains the exact same way about debug.)  I placed the I18N
tld file in my web servers WEB-INF directory.

I also placed the I18N.jar file under the directory my JSP file is located
under /taglib/util/

The JSP file is this:

<HTML>Happy Happy Happy<p></HTML>

<%@ taglib uri="http://jakarta.apache.org/taglibs/i18n-1.0"; prefix="i18n" %>
<% java.util.Locale localeVar = new java.util.Locale("de","DE"); %>
<i18n:bundle baseName="bundle" debug="true"/>
<HTML>Message from resource bundle:</HTML> <i18n:message key="s2"/>

(I'm not using the localeVar yet of course).

The properties file bundle_en_US.properties:
s1=3
s2=MyDisk
s3=3 Mar 96
s4=The Disk '{1}' a {0} a {2}.
s5=0
s6=The Date
s7=Something
s8=Some Date
s9=2
s10={0}|3 Date
s11=The format of the Exception {0}
s12=ERROR
s14=Result
s13=Dialog
s15=Pattern
s16=1,3

I intended to use another resource file ==> bundle_de_DE.properties:
s1=3
s2=MeinDisk
s3=3 Mar 96
s4=Der disk '{1}' a {0} a {2}.
s5=0
s6=keine Datein
s7=1
s8=ein Datei
s9=2
s10={0}|3 Datein
s11=Der Format worf ein Exception: {0}
s12=ERROR
s14=Resulte
s13=Dialogue
s15=Pattern
s16=1,3

Any ideas?  I'm using Allaire JRun 3.1, but we're moving to Tomcat.

"Dong, Bill" wrote:

> Anybody has any idea about how to change the Netscape's session behavior
> from JSP/Java Bean?
> One of my application reuqires me to let the NS browser to open a brand new
> session on each opening of a new browser window. Identical Session IDs on
> each consecutively activated NS window proved its "session persistence",
> which is different from IE.
>
> Appreciae your any advice or help.
>
> Bill Dong


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

Reply via email to