Hi,

Is it possible to map several actions to the same action form by using  a wildcard?  For example

in struts config:

<forward name="search" path="/do/search" />

<action path="/search"

           type="com.sky.videolounge.lounge.web.control.actions.SearchAction"

           name="searchForm"

          input="/search.jsp"

        scope="session">

<forward name="results" path="search.jsp"/>

</action>

in web.xml:

<servlet-mapping>

<servlet-name>action</servlet-name>

<url-pattern>/do/search*</url-pattern>

</servlet-mapping>

in jsp page:

<html:link forward="search" paramName="pageNumber" paramId="pageNumber">

         <bean:write name="pageNumber" />

</html:link>

Explaination:  I want to have several pages to link to the same action form and action, but I will not know how many pages I will have in advance.

I hope I have made myself clear.  Thanks

Chiji

>From: Chuck Amadi <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Any suggestions Prob with validation be passing to db
>Date: Tue, 25 Sep 2001 13:49:26 +0100
>MIME-Version: 1.0
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id MHotMailBD79C92A000940043889407D851409F30; Tue, 25 Sep 2001 05:52:58 -0700
>Received: (qmail 76171 invoked by uid 500); 25 Sep 2001 12:49:12 -0000
>Received: (qmail 76137 invoked from network); 25 Sep 2001 12:49:12 -0000
>Received: from anchor-post-31.mail.demon.net (194.217.242.89) by daedalus.apache.org with SMTP; 25 Sep 2001 12:49:12 -0000
>Received: from bbnpagwy.demon.co.uk ([212.229.24.105] helo=tycho.breconbeacons.org)by anchor-post-31.mail.demon.net with esmtp (Exim 2.12 #1)id 15lreA-0003XV-0Vfor [EMAIL PROTECTED]; Tue, 25 Sep 2001 13:49:10 +0100
>Received: from breconbeacons.org (holly.breconbeacons.org [172.16.3.70])by tycho.breconbeacons.org (8.9.3/8.8.7) with ESMTP id NAA07834for <[EMAIL PROTECTED]>; Tue, 25 Sep 2001 13:49:22 +0100
>From struts-user-return-17716-cn081 Tue, 25 Sep 2001 05:53:12 -0700
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help:
>list-unsubscribe:
>list-post:
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>Organization: Brecon Beacons National Park Authority
>X-Mailer: Mozilla 4.7 [en] (Win98; I)
>X-Accept-Language: en
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>When the Submit.jsp form is complete it is passed to the ProcessForm.jsp
>(Inserted to db)
>Thus i have created a UserInfoValid.jsp as below. I now that i should'nt
>use script albeit i need something to demostrate my keep.
>
>jsp:useBean id="planBean" scope="session" class="PlanBean" />
>
>
>
>
><%! boolean valid = true ; %>
>
><% if ((planBean.getFirstName()).equals("")) { valid = false ;
> planBean.setStatusMsg(planBean.getStatusMsg() + "Please enter
>your First Name "); } %>
>
><% if ((planBean.getLastName()).equals("")) { valid = false;