> -----Original Message----- > From: Marc Guillemot [mailto:[EMAIL PROTECTED]] > > Hi, > using Strugs I've a java.util.Locale object stored in session under the > key > "org.apache.struts.action.LOCALE". How can I output the language property > of > this bean using c:out? > > I've nothing outputted (what seems logical) with: > <c:out value="${org.apache.struts.action.LOCALE.language}"/> > > Is there a trick?
If you're certain what scope the object will be in, you can reference the "scope map" directly, and use your object name as an associative index. In other words, do this: '${sessionScope["org.apache.struts.action.LOCALE.language"]}' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]