I don't understand how could this possiblely happened.


here is what i have on my struts-config.xml
<message-resources parameter="org.apache.struts.webapp.example.ApplicationResources"/>
<message-resources parameter="org.apache.struts.webapp.example.AlternateApplicationResources" key="alternate">
</message-resources>
<message-resources parameter="com.emeta.web.WebResources" key="web">
</message-resources> I am 100% sure that ApplicationResources.properties and other files are resited on the right folders. What can possibly goes wrong,
my web app starts find but i can't see why struts couldn't load these files, anybody knows why, thanks



HTTP Status 500 -


------------------------------------------------------------------------

type Exception report

message

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

exception

javax.servlet.ServletException: Missing message for key "index.title"
   
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:673)
   org.apache.jsp.index_jsp._jspService(index_jsp.java:84)
   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: Missing message for key "index.title"
   org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:297)
   org.apache.jsp.index_jsp._jspx_meth_bean_message_0(index_jsp.java:163)
   org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.java:105)
   org.apache.jsp.index_jsp._jspService(index_jsp.java:76)
   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)

note The full stack trace of the root cause is available in the Tomcat logs.

------------------------------------------------------------------------


Apache Tomcat/5.0.12




Reply via email to