Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1A7C1161E for ; Thu, 9 May 2013 18:33:55 +0000 (UTC) Received: (qmail 60738 invoked by uid 500); 9 May 2013 18:33:53 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 60579 invoked by uid 500); 9 May 2013 18:33:52 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 60567 invoked by uid 99); 9 May 2013 18:33:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 18:33:52 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.30.238.78] (HELO nm35-vm6.bullet.mail.bf1.yahoo.com) (72.30.238.78) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 18:33:44 +0000 Received: from [98.139.215.141] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 09 May 2013 18:33:23 -0000 Received: from [98.139.212.192] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 09 May 2013 18:33:22 -0000 Received: from [127.0.0.1] by omp1001.mail.bf1.yahoo.com with NNFMP; 09 May 2013 18:33:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 974309.76843.bm@omp1001.mail.bf1.yahoo.com Received: (qmail 91428 invoked by uid 60001); 9 May 2013 18:33:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1368124402; bh=pmOFfFFMZY/2/FV7IPi/vrPqtT5nNEM6eM5EdhPt8+A=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=w3af/F+tntznrXkYQeRrTy3LozhWj+WzIFpPtY2xOxAUkGcS3Xx1yj3IsrPBhfFKc/C6rxjWUM/JbnxiFMv456Lti3TpughzlpDfS4BcKseg/Lrwvrc+dDeTJ4Jryat4DO0V5ohMy2siTHAAlnatMoi9VNfXq2A0cyUSvFv1kG4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=wpeaTEf4brax2LJIQqXlRFWiDSnH32O1IuSCVBZ4cv4bxl+7WrWBb+nDjgGY2wzMEICvKudhH72EpOyveIZ5pUJ/aIYAuq9sqytdPU7bNBVnwUV61MP2EnRPoS8kQqgq4iti9Zjbe63/yPkxSZ6sKD1qsjKTxvfrpLQqTiqL4hg=; X-YMail-OSG: aUfKssMVM1lSCk0zMhKX77I.nB6RTcSRqWLyF_mbzEdOck1 XM.sqc2uUvwZpadkwertiS4cb3vcy8E.PqMvtOc_5NitUTt6g1boJzZTSz_G 9t1FFXPJZwTCYsK0Ph2Df90engB7zaplDdpukVMfLK9OxofV5IPomi9suAVB gTYnJZ6SUd3J2EKOORAn7JDBlspRmPWtjrwCeiFvF_vx9P.eaJINVG.KbWe3 ff9im9S061YbOHsXx6LSKpEn25Yk_KJ0eHNeobXvvhOKQ5izPEoVSQpVqZyB KNl5bKGFGpuE0ay9U6pYeXPT8x0ebrDWG5YPtC0DSN3gFnX4uRCg_zDDQg_e Wk97MKroiiGtA_KHSXVANBM7YbcHnu827EHFq549tYiM3Jmbi71.YCYbXOf3 jOHf6KDhUH43qW4aKTPHSvJQ0x54hNoNJ9CmGYubh7brv91lNSZR75brdVqF yPEU.yYdwgZdvvEUErCqFrY96wNKAS4qaTIwA5oCOU2g6K.EVvCL9q0ertNy DO._fqT6ELmE3UpCN.he0bexfxMml2wR_3.UogoSbiM2WXSgK3fAFG4YfNx2 smStWpNOeL_rrA9E8fQyC6UAt6LXTsf30POqiLwsFzOZqYMz5wZMFquc- Received: from [50.76.64.177] by web140701.mail.bf1.yahoo.com via HTTP; Thu, 09 May 2013 11:33:22 PDT X-Rocket-MIMEInfo: 002.001,CsKgCmFscGhhOi92YXIvYXBhY2hlLXRvbWNhdC03LjAuMzQvd2ViYXBwcy9lY29tbWVyY2UgIyBjYXQgcGFydHNlYXJjaGlucHV0LmpzcAoKPCVAIHRhZ2xpYiBwcmVmaXg9InMiIHVyaT0iL3N0cnV0cy10YWdzIiU.Cgo8czphY3Rpb25lcnJvci8.CjxzOmZvcm0gYWN0aW9uPSJwYXJ0c2VhcmNoaW5wdXQiPgo8czp0ZXh0ZmllbGQgbmFtZT0icGFydGlkIiBsYWJlbD0icGFydGlkIi8.CjxzOnN1Ym1pdCB2YWx1ZT0ic2VhcmNoIi8.Cjwvczpmb3JtPgoKdGhlIGFib3ZlIGNvZGUgd29ya3MsIGFuZCB2ZXJpZmkBMAEBAQE- X-Mailer: YahooMailWebService/0.8.141.536 References: <1368029700.84847.YahooMailNeo@web140706.mail.bf1.yahoo.com> Message-ID: <1368124402.85954.YahooMailNeo@web140701.mail.bf1.yahoo.com> Date: Thu, 9 May 2013 11:33:22 -0700 (PDT) From: john lee Reply-To: john lee Subject: struts 2 / sitemesh/ In-Reply-To: <1368029700.84847.YahooMailNeo@web140706.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1936327721-321806512-1368124402=:85954" X-Virus-Checked: Checked by ClamAV on apache.org --1936327721-321806512-1368124402=:85954 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0A=A0=0Aalpha:/var/apache-tomcat-7.0.34/webapps/ecommerce # cat partsearch= input.jsp=0A=0A<%@ taglib prefix=3D"s" uri=3D"/struts-tags"%>=0A=0A=0A=0A=0A=0A=0A=0Athe a= bove code works, and verified by http://localhost/ecommerce/partsearchinput= .jsp=0A=0Abut, after i start to use sitemesh, it has the problem as the fol= lowing=0A=0AThe Struts dispatcher cannot be found.=A0 This is usually cause= d by using Struts tags without the associated filter. Struts tags are only = usable when the request has passed through its servlet filter, which initia= lizes the Struts dispatcher needed for this tag. - [unknown location]=0A=0A= SEVERE: Unhandled exception occurred whilst decorating page=0Ajava.lang.Run= timeException: org.apache.jasper.JasperException: An exception occurred pro= cessing JSP page /partsearchinput.jsp at line 6=0A3:=0A4: <%@ taglib prefix= =3D"s" uri=3D"/struts-tags"%>=0A5:=0A6: =0A7: =0A8: = =0A9: =0A=0A=0A********************************= ********************************************=0Aalpha:/var/apache-tomcat-7.0= .34/webapps/ecommerce/WEB-INF # cat web.xml=0A=0A=0Ast= ruts2=0A=A0 org.apache.struts2.dispatcher.ng.fi= lter.StrutsPrepareAndExecuteFilter=0A=0A=A0= =A0 =0A=A0=A0 sitemesh =0A=A0=A0=A0=A0=A0 com.opensymphony.sitemesh.webapp.SiteMeshFilter=0A=A0=A0 =0A =0A =0A=A0=A0=A0 sitemesh =0A=A0=A0=A0=A0 /*=0A=A0=A0=A0=A0 <= dispatcher>FORWARD=A0=A0 =0A=A0=A0=A0=A0=A0=A0=A0=A0 REQUEST =0A=0A****************************= ******************************************=0Aalpha:/var/apache-tomcat-7.0.3= 4/webapps/ecommerce/decorators # cat basic-theme.jsp=0A=0A=A0<%@ taglib uri= =3D"http://www.opensymphony.com/sitemesh/decorator" prefix=3D"decorator" %>= =0A=A0=0A<%@ taglib uri=3D"http://www.opensymphony.com/sitemesh/decorator" = prefix=3D"decorator"%>=0A<%@ taglib uri=3D"http://www.opensymphony.com/site= mesh/page" prefix=3D"page"%>=0A=0A<%@ taglib prefix=3D"s" uri=3D"/struts-ta= gs"%>=0A=A0=A0=A0=A0=A0=0A=A0=A0=A0 =0A=A0=A0=A0=A0=A0=A0=A0=A0 =0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 =0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <%@ inclu= de file=3D"/partsearchinput.jsp"%>=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 =0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0
=0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = =0A=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0

=A0

Copyright XXXXX

=A0

=0A=A0=A0=A0=A0=A0= =A0=A0=A0 =0A=A0=A0=A0 =0A=A0 ******************************= *************************************************=0Aalpha:/var/apache-tomca= t-7.0.34/webapps/ecommerce/WEB-INF # cat decorators.xml=0A=A0=0A=A0=A0=A0=0A=A0=A0 =0A=A0=A0=A0=A0=A0=A0 /menu.jsp =0A=A0=A0 =0A=A0=A0=0A**********************= ************************************************************=0Aalpha:/var/a= pache-tomcat-7.0.34/webapps/ecommerce # cat partsearchinput.jsp=0A=0A<%@ ta= glib prefix=3D"s" uri=3D"/struts-tags"%>=0A=0A=0A=0A= =0A=0A********************************= ***************************************************=0Aalpha:/var/apache-tom= cat-7.0.34/webapps/ecommerce # cat menu.jsp=0A=0A=A0=A0=A0 =A0=A0 =0A= =A0=A0=A0=A0=A0=A0=A0=A0

test

=0A=A0=A0 --1936327721-321806512-1368124402=:85954--