Message error

2004-01-14 Thread Namasivayam, Sudhakar (Cognizant)
i did put the entry into init-param of web.xml and the message resourses tag.. 
Do i have to change anything else? 
 



type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

javax.servlet.ServletException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.logon_jsp._jspService(logon_jsp.java:94)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause 

javax.servlet.jsp.JspException: Cannot find message resources under key 
org.apache.struts.action.MESSAGE

org.apache.struts.util.RequestUtils.retrieveMessageResources(RequestUtils.java:1103)
org.apache.struts.util.RequestUtils.message(RequestUtils.java:1043)
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
org.apache.jsp.logon_jsp._jspx_meth_bean_message_0(logon_jsp.java:147)
org.apache.jsp.logon_jsp._jspx_meth_html_html_0(logon_jsp.java:113)
org.apache.jsp.logon_jsp._jspService(logon_jsp.java:85)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

message error after compiling other classes

2001-02-25 Thread Kan Leung, MK

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