Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 17921 invoked from network); 16 Jul 2003 20:12:21 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 Jul 2003 20:12:21 -0000 Received: (qmail 23300 invoked by uid 97); 16 Jul 2003 20:14:56 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 23293 invoked from network); 16 Jul 2003 20:14:56 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 Jul 2003 20:14:56 -0000 Received: (qmail 14031 invoked by uid 500); 16 Jul 2003 20:11:35 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 13912 invoked from network); 16 Jul 2003 20:11:34 -0000 Received: from rwcrmhc11.comcast.net (204.127.198.35) by daedalus.apache.org with SMTP; 16 Jul 2003 20:11:34 -0000 Received: from D8Y1YG01 (12-234-179-169.client.attbi.com[12.234.179.169](untrusted sender)) by comcast.net (rwcrmhc11) with SMTP id <200307162011390130090t8ve>; Wed, 16 Jul 2003 20:11:39 +0000 From: "Jian Dai" To: "Struts Users Mailing List" Subject: RE: Install Struts in Tomcat Date: Wed, 16 Jul 2003 13:12:11 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks a lot for the nice help. I had this problem with Tomcat 3.5. Now, I have installed Tomcat 4.1 instead and I did not have this problem any more. So, my best guess is that tomcat 4.1 included something mentioned by you here so that this problem has been overcome. Many thanks again. Jack -----Original Message----- From: Augusto.Guagliano@infosoftware.com.br [mailto:Augusto.Guagliano@infosoftware.com.br] Sent: Wednesday, July 16, 2003 11:39 AM To: Struts Users Mailing List Subject: Re: Install Struts in Tomcat I just killed this error :-) (Hope I am not saying anything stupid) First, I included xerces.jar in my /WEB-INF/lib, so the struts-config can be parsed. Then I declared the message-resources entity in my struts-config.xml (I am using struts 1.1). Check the DTD. I have (right after action-mappings): Check also your DTD declaration in struts-config.xml so you don't declare the 1.0 DTD while using the 1.1 classes. Additionally, your resources.properties must be passed as a parameter to the ActionServlet init params, what can be accomplished inside web.xml. The right place is: (...) action org.apache.struts.action.ActionServlet application ApplicationResources (...) Hope this helps! =================================== Augusto Cesar Guagliano augusto@infosoftware.com.br Project Manager +55 19 3253.3440 Infosoftware Consulting http://www.infosoftware.com.br =================================== Esta mensagem pode conter informa��o confidencial e/ou privilegiada. Se voc� n�o for o destinat�rio ou a pessoa autorizada a receber esta mensagem, n�o pode usar, copiar ou divulgar as informa��es nela contidas ou tomar qualquer a��o baseada nessas informa��es. Se voc� recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua coopera��o. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. "Jian Dai" 16/07/2003 15:32 Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" cc: Subject: Install Struts in Tomcat Hi, all: I am trying to deploy Struts in Tomcat. But when I tried to run the index.jsp from struts-example, I always got the errors that: "javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:459) at _0002findex_0002ejspindex_jsp_10._jspService(_0002findex_0002ejspindex_jsp_1 0.java:444) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) ........ " I was told that I need to include resource.properties file. But this file is included in struts-example's package. I will appreciate if anybody can help me to fix this problem. Many thanks in advnace. Jack --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org