Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

accessing objects with jstl

843836Feb 3 2005 — edited Feb 7 2005
Hello forum,

A question about JSTL - one of the things I have not figured out until now. How can you access an object declared by a specialized tag? Generaly you c:set the variable you wish and you use EL to malipulate it. But how can you access a locale object or resource bundle object? Let's take the bundle object for example:

The code that would declare it would be:

<fmt:setLocale value="theLocale"/>
<fmt:bundle basename="thebasename"/>

Suppose that later in the code you want to access the created resource bundle object - how can you do that? Obviously a resource bundle object has been created, but how can you call one of its methods?

Thanks in advance,

Michael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2005
Added on Feb 3 2005
4 comments
239 views