You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Evgeny Gesin <ev...@yahoo.com> on 2006/08/26 22:15:59 UTC

Tomcat 5.5.17: useBean class="java.util.Locale" ?

Hi,

I just upgraded tomcat server from 4.1.31 to 5.5.17 on
a developer machine.

The following line runs fine in Tomcat 4.1.31
<jsp:useBean id="locale" scope="session"
class="java.util.Locale" />

but produces this error in Tomcat 5.5.17
"The value for the useBean class attribute
java.util.Locale is invalid."

The following scriptlet works fine in the jsp (does
some as useBean should do) in Tomcat 5.5.17
<% java.util.Locale locale =
(java.util.Locale)session.getAttribute("locale"); %>

Looks like a bug in Tomcat 5.5.17.
What do you think?

Thanks
Evgeny

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org