Return-Path: Delivered-To: apmail-beehive-user-archive@www.apache.org Received: (qmail 45581 invoked from network); 30 Apr 2007 21:30:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2007 21:30:49 -0000 Received: (qmail 8239 invoked by uid 500); 30 Apr 2007 21:30:55 -0000 Delivered-To: apmail-beehive-user-archive@beehive.apache.org Received: (qmail 8154 invoked by uid 500); 30 Apr 2007 21:30:54 -0000 Mailing-List: contact user-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list user@beehive.apache.org Received: (qmail 8135 invoked by uid 99); 30 Apr 2007 21:30:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 14:30:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of carlin.rogers@gmail.com designates 64.233.162.228 as permitted sender) Received: from [64.233.162.228] (HELO nz-out-0506.google.com) (64.233.162.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 14:30:47 -0700 Received: by nz-out-0506.google.com with SMTP id l1so2462291nzf for ; Mon, 30 Apr 2007 14:30:25 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tqmiZ3PIXxw5rFb5bpZrBX9BX1mbJo3KwXh6L49lNHUdLlbpaXTUx9zUVupLsi+5cSjgo64oOt5GTKxmiK+IuKnVLdwHwYU2j5YS6+Q8JbpyWpWGp5yquRqPhry9dNqZZ1IlD0FNuxu9DVTqtNsqVY1SQzsJ/t8Pqziy6jHuCvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mHQ79gLRVEom2kswu7XpaSOyPlAhlaxMfcaqbUHv4oRK3JWyZ0NwwuBpggGveiPyfqjEd6rzy0VLvTEvtIs4EXyV7pul+TQE/9DrOPZYcysJ92E0jef7yOgy6PasuqodwogO+YeAMufJxlmqaoxzNrQRcmtlQqJD/lo60/Z15/Q= Received: by 10.114.135.1 with SMTP id i1mr638759wad.1177968625588; Mon, 30 Apr 2007 14:30:25 -0700 (PDT) Received: by 10.114.135.15 with HTTP; Mon, 30 Apr 2007 14:30:25 -0700 (PDT) Message-ID: Date: Mon, 30 Apr 2007 15:30:25 -0600 From: "Carlin Rogers" To: "Beehive Users" , noofiz@yandex.ru Subject: Re: handling all requests In-Reply-To: <46330196.000004.10157@webmail15.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46330196.000004.10157@webmail15.yandex.ru> X-Virus-Checked: Checked by ClamAV on apache.org Hi there, Just curious, why do you want all requests to go through the same action? This doesn't really fit the model of NetUI and page flows. With NetUI, the Page Flow Controller class centralizes navigation logic, state, metadata, and exception handling and allows you to create modular "page flows". If there's some request handling you want to perform before forwarding on to the desired actions, you could use a servlet filter. You might also look at the support for request interceptors in NetUI. Your web.xml "/*" has all request, including presentation JSP, etc. all going to the page flow action servlet. The configuration of the action servlet should just be for the actions. Kind regards, Carlin On 4/28/07, noofiz wrote: > Hello. > > How can I make one controller class`s action(not simple) to handle all > requests for a web application? > For example, I want to have > localhost/users/your_login > instead > localhost/login.do?name=your_login > or for example: > localhost/page1/param1/param2/param3/ > > The firs thing I`ve tried: > > action > org.apache.beehive.netui.pageflow.PageFlowActionServlet > > config > /_pageflow/struts-config.xml > > 2 > > > > action > /* > > > I thought the begin action will be called. > But I`ve got an exception, unfortunately I cant place full stack trace now. > > Thanks. >