Hi,

During development, I always recompile my classes when the container is
up and running. Newly compiled classes can be reloaded correctly.
However, the browser always shows Message Tag errors if the page contain
<bean:message .../> tags. The classes which I re-compiled haven't use
any Struts-specific libraries.

The only relation is in the JSP page, that contains <bean:message  .../>
tags and uses the beans which I just recompiled. Any clue?

==========8<==========
Internal Servlet Error:

javax.servlet.ServletException:
org.apache.struts.util.PropertyMessageResources
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:459)
        at
_0002fregister_0005fdn_0005fpasswd_0002ejspregister_0005fdn_0005fpasswd_
jsp_13._jspService(_0002fregister_0005fdn_0005fpasswd_0002ejspregister_0
005fdn_0005fpasswd_jsp_13.java:228)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 ..........
 ..........

Root cause:

java.lang.ClassCastException:
org.apache.struts.util.PropertyMessageResources
        at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:282)
        at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:239)
        at
_0002fregister_0005fdn_0005fpasswd_0002ejspregister_0005fdn_0005fpasswd_
jsp_13._jspService(_0002fregister_0005fdn_0005fpasswd_0002ejspregister_0
005fdn_0005fpasswd_jsp_13.java:145)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 ..........
 ..........
 ..........
==========8<==========


--
Kan LEUNG, M K
email: [EMAIL PROTECTED]
Digital Empires Company Limited





Reply via email to