well, for me with weblogic i noticed that putting
a specific location in the classpath helps...
and putting the file there.  in the case below
it would require putting your properties file
in /com/yourDomain java classpath.

   <servlet>
      <servlet-name>action</servlet-name>
      <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
      <init-param>
         <param-name>application</param-name>
         <param-value>com.yourDomain.cais</param-value>
      </init-param>

not sure that helps, lemme know.

c

At 10:27 PM 4/17/2001 -0500, G.L. Grobe wrote:
I've posted this once, but nothing led me to any ideas. I was using Orion 1.4.5 and now I've upgraded to 1.4.7 in hopes of seeing something different to no avail. 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, or even ideas of debugging.
 
 
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

...
------ ~WEB-INF/web.xml ------------------------
 
   <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>
 
------ ~/index.jsp ------------------------
 
<%@ 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>
------ ~WEB-INF/classes/cais.properties ------------------------

# C.A.I.S. Resource Bundle
main.title=CAIS
main.master=Master View
main.detail=Detailed View

Reply via email to