I'm using Orion 1.4.7
--------------- cais.properties file ----------------
 
# C.A.I.S. Resource Bundle
main.title=CAIS
main.master=Master View
main.detail=Detailed View
 
 
Thnxs
----- Original Message -----
Sent: Friday, April 13, 2001 4:39 PM
Subject: RE: struts can't find properties file

Hey G.L.
 
Which app server are you using?
 
Can we take a look at cais.properties file?
 
--Abraham
-----Original Message-----
From: G.L. Grobe [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 2:18 PM
To: [EMAIL PROTECTED]
Subject: struts can't find properties file

I've got the cais.properties file in the ~/WEB-INF/classes dir. Here's the error and below that is the section of web.xml that points to the properties file and below that is the section of index.jsp  with the message key itself.
 
Any help much appreicated.
 
 500 Internal Server Error
javax.servlet.jsp.JspException: Missing message for key main.title at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java,
Compiled Code) at /index.jsp._jspService(/index.jsp.java, Compiled Code) at
...
 
   <servlet>
      <servlet-name>action</servlet-name>
      <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
      <init-param>
         <param-name>application</param-name>
         <param-value>cais</param-value>
      </init-param>
 
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>

<html:html>
<head>
<title>
   <bean:message key="main.title" />
</title>

Reply via email to