Solved: Please help: Cannot find message resources under key org .apache.struts.action. MESSAGE
thanks for all the help in this. turns out that for it to work on the new version of struts and apache, you must also add all the commons*.jar files as well. it's fine now thanks, -prash. ps: is there a file called struts.tld anymore? it is referred to in the tutorial but is not part of struts 1.1 any pointers? -Original Message- From: Rajat Pandit [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 11:53 PM To: 'Struts Users Mailing List' Subject: RE: Please help: Cannot find message resources under key org.apache.struts.action. MESSAGE According to your struts config, the path for the res. File should be something like this. /WEB-INF/classes/ApplicationResources/properties.properties The res file being named properties.properties which Is not wrong just that it sounds funny. I guess you got my hint. So you will need to make osme changes. And I guess RTFM!! Take care and hope this helps! Rajat - 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]
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(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" %> BookView -- from my web.xml: -- action org.apache.struts.action.ActionServlet application ApplicationResources config /WEB-INF/struts-config.xml my struts-config.xml: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";> 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: javascript question...
actually you can - just not the way i said it though ... sorry try this ... function go() { var namVal = document.fm1.txtName.value; var newWinStr = 'a.html?Name='+namVal; var newwin=window.open(newWinStr); } -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:44 PM To: Struts Users Mailing List Subject: RE: javascript question... Thanks Narayanan -- I tried this b4, but this will throw an error... Actually, you need to pass a total string into the open method Prashanth Narayanan <[EMAIL PROTECTED]> wrote:try var newwin=window.open("a.html?Name="+namVal); -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:37 PM To: [EMAIL PROTECTED] Subject: javascript question... Hi... Is it possible to send a value of a form element from the parent window to the child window like this??? function go() { var namVal = document.fm1.txtName.value; var newwin=window.open("a.html?Name=namVal"); } [input] [input] The above does not work... it will give me 'namVal' as the value rather than the actual typed in value when I try to get request.getParameter How can I achieve this functionality??? I need to pass a form element value when opening a new window. This value is essential at this point coz I perform an action based on this value and then bring the pop up page Suggestions requested please... Thanks! Jacob - Do you Yahoo!? Exclusive Video Premiere - Britney Spears - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Exclusive Video Premiere - Britney Spears - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: javascript question...
try var newwin=window.open("a.html?Name="+namVal); -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:37 PM To: [EMAIL PROTECTED] Subject: javascript question... Hi... Is it possible to send a value of a form element from the parent window to the child window like this??? function go() { var namVal = document.fm1.txtName.value; var newwin=window.open("a.html?Name=namVal"); } The above does not work... it will give me 'namVal' as the value rather than the actual typed in value when I try to get request.getParameter How can I achieve this functionality??? I need to pass a form element value when opening a new window. This value is essential at this point coz I perform an action based on this value and then bring the pop up page Suggestions requested please... Thanks! Jacob - Do you Yahoo!? Exclusive Video Premiere - Britney Spears - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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" %> BookView -- from my web.xml: -- action org.apache.struts.action.ActionServlet application ApplicationResources config /WEB-INF/struts-config.xml my struts-config.xml: http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";> any help will be much appreciated, thanks, -prash. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]