Please help: Cannot find message resources under key org.apache. struts.action. MESSAGE

2003-10-29 Thread Prashanth Narayanan
still couldn't resolve this
any help will be appreciated - this is my first struts example!

-Original Message-
From: Prashanth Narayanan 
Sent: Wednesday, October 29, 2003 1:54 PM
To: '[EMAIL PROTECTED]'
Subject: Cannot find message resources under key
org.apache.struts.action. MESSAGE


hi,
  i am getting the following message:
org.apache.jasper.JasperException: Cannot find message resources under key
org.apache.struts.action.MESSAGE 
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
54) 
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
...
  i am running struts 1.1 on apache 4.1. and this is the most basic example:
--
my BookView.jsp
--
%@ page language=java %
%@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
%@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
html:html locale=true
head
html:base/
title
bean:message key=index.title/
/title
/head
body
h2BookView/h2
/body
/html:html

--
from my web.xml:
--
web-app
servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameapplication/param-name
param-valueApplicationResources/param-value
/init-param
init-param
param-nameconfig/param-name
param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param


my struts-config.xml:

?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE struts-config PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 1.0//EN
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;
struts-config
message-resources parameter=ApplicationResources.properties/
/struts-config

any help will be much appreciated,
thanks,
-prash.



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

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



RE: Please help: Cannot find message resources under key org.apache. struts.action. MESSAGE

2003-10-29 Thread Rabago, Hubert
And delete the .properties from struts-config:
struts-config
message-resources parameter=ApplicationResources/
/struts-config

-Original Message-
From: Edgar P Dollin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 29, 2003 3:58 PM
To: 'Prashanth Narayanan'; 'Struts Users Mailing List'
Subject: RE: Please help: Cannot find message resources under key
org.apache. struts.action. MESSAGE


Looks like you need a file ApplicationResources.properties in your
/WEB-INF/classes directory.

Edgar

 -Original Message-
 From: Prashanth Narayanan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 29, 2003 4:57 PM
 To: 'Struts Users Mailing List'
 Subject: Please help: Cannot find message resources under key 
 org.apache. struts.action. MESSAGE
 
 
 still couldn't resolve this
 any help will be appreciated - this is my first struts example!
 
 -Original Message-
 From: Prashanth Narayanan
 Sent: Wednesday, October 29, 2003 1:54 PM
 To: '[EMAIL PROTECTED]'
 Subject: Cannot find message resources under key 
 org.apache.struts.action. MESSAGE
 
 
 hi,
   i am getting the following message:
 org.apache.jasper.JasperException: Cannot find message
 resources under key org.apache.struts.action.MESSAGE 
 at 
 org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
 Wrapper.java:2
 54) 
 at 
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
 .java:295) 
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 
 ...
   i am running struts 1.1 on apache 4.1. and this is the most 
 basic example:
 --
 my BookView.jsp
 --
 %@ page language=java %
 %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean %
 %@ taglib uri=/WEB-INF/struts-html.tld prefix=html %
 %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % 
 html:html locale=true head html:base/ title 
 bean:message key=index.title/ /title /head body 
 h2BookView/h2 /body /html:html
 
 --
 from my web.xml:
 --
 web-app
 servlet
 servlet-nameaction/servlet-name
 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
 param-nameapplication/param-name
 param-valueApplicationResources/param-value
 /init-param
 init-param
 param-nameconfig/param-name
 param-value/WEB-INF/struts-config.xml/param-value
 /init-param
 init-param
 
 
 my struts-config.xml:
 
 ?xml version=1.0 encoding=ISO-8859-1 ?
 !DOCTYPE struts-config PUBLIC
 -//Apache Software Foundation//DTD Struts Configuration
 1.0//EN 
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd;
struts-config
message-resources parameter=ApplicationResources.properties/
/struts-config

any help will be much appreciated,
thanks,
-prash.



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

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


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