Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 71902 invoked from network); 3 Mar 2009 10:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 10:29:52 -0000 Received: (qmail 28754 invoked by uid 500); 3 Mar 2009 10:29:42 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 28726 invoked by uid 500); 3 Mar 2009 10:29:42 -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 28714 invoked by uid 99); 3 Mar 2009 10:29:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 02:29:42 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 10:29:33 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LeRs8-000364-HN for user@struts.apache.org; Tue, 03 Mar 2009 02:29:12 -0800 Message-ID: <22305793.post@talk.nabble.com> Date: Tue, 3 Mar 2009 02:29:12 -0800 (PST) From: kool To: user@struts.apache.org Subject: Re: servlet to struts MVC conversion mapping In-Reply-To: <22305752.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mailme2ranga@gmail.com References: <22305752.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org kool wrote: > > Hi all, > > I have one servlet. now i have to convert the functionality of the servlet > to struts mvc (writing an action class and daos). i am able to converted > into servlet. > > now my problem is servlet is mapped in web.xml. now i dont know how to map > the action(servlet converted into action) in the action-mapping. for > struts url end with .do. > > Can any body give idea, what is the equivalent mapping of the action that > the servlet has. > > Please give any example that a servelt convert into struts mvc.along with > web.xml and struts-config.xml for mapping > Functionality i am able to convert into action class. but the mapping of the servlet also converted into struts. i have the following url to call. projone+variable+"/?querystring" variable is dynamically changing. in servlet mapping i used as: OneServlet /projone/* But i dont know how to map in struts to call the url: projone+variable+"/?querystring" Please help me. -- View this message in context: http://www.nabble.com/servlet-to-struts-MVC-conversion-mapping-tp22305752p22305793.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org