How can I still get the following error if I've commented all my
<bean:message tags out from the below file? It still says key not found and
w/ these tags commented, it shouldnt' even try to pull a key, correct? I do
a println on the resource below to see that i'm getting the correct resource
file.
500 Internal Server Error
javax.servlet.jsp.JspException: Missing message for key main.title at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242) at
/index.jsp._jspService(/index.jsp.java:159) (JSP page line 133) at
com.orionserver[Orion/1.4.8 (build 10374)].http.OrionHttpJspPage.service
Any ideas/help appreciated.
----------------- my index.jsp --------------------------
<%@ page language="java" %>
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="WEB-INF/struts-bean.tld" prefix="bean" %>
<html:html>
<head>
<title>
<!-- bean:message key="main.title" /-->
</title>
<%@ include file="menubar.js" %>
<%@ include file="main.css" %>
</head>
<body bgcolor="white">
<html:errors/>
<%
System.out.println("HERE ... " +
this.getClass().getClassLoader().getResource("cais.properties")); // ...
this show's i'm accessing the right *.properties file
%>
<%@ include file="header.jsp" %>
<%@ include file="mainMenu.jsp" %>
<html:form action="view.do">
<table border="0" cellspacing="2" cellpadding="0" align="left">
<tr>
<td>
<html:radio property="view" value="Master View">
<!-- bean:message key="main.master" / -->
</html:radio>
</td>
<td>
<html:radio property="view" value="Details View">
<!-- bean:message key="main.detail" / -->
</html:radio>
</td>
<td>
<center>
<html:submit value="View"/>
</center>
</td>
</tr>
</table>
</html:form>
<br> <br> <br> <br> <br>
<%@ include file="footer.jsp" %>
</body>
</html:html>