question about the application scope of bundle ..

"Vikram Reddy" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Guys,
i have a question about the application scope for the bundle tab.
In my Index page, i have the following code:
<ccor_i18n:bundle baseName="i18n.ApplicationResources" id="applResources"
scope="application"/>
<ccor_i18n:bundle baseName="i18n.AlertResources" id="alertResources"
scope="application"/>

when i use this on the same index.jsp it works :
<ccor_i18n:message key="loginForm.displayname" bundle="<%=applResources%>"/>

or

<ccor_i18n:message key="loginForm.displayname" bundleRef="applResources" />

both of them works.

but when  i login and when i try to access the same in the other page :it
throws expection, when i use the same in another jsp, it throws me
exception.

<ccor_i18n:message key="loginForm.displayname" bundleRef="applResources" />


I have put the bundle in the application scope on my index page, please let
me know how to resolve this. It is working if i put again the bundle tag on
my other page.

Am I missing something here , I want to use appication scope.

Thanks in advance.

V
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.