We use base forms too but we use sub-forms in both action mappings. It works
for us if we use sub-forms with action chaining like this.

  Our action chains are very minimal though because it is not recommended
design practice.
Mohan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 31, 2003 10:26 AM
To: [EMAIL PROTECTED]
Subject: Problem with action chaining


Hi, 

 

I have a problem with action chaining. My action tag 

<action path="/producerCreate"

        type="com.epolicy.arch.brokerage.web.agency.AgencyAction"

        name="agencyForm"

        validate="true"

        parameter="create"

        scope="request">

    <forward name="create"                  path="agencyCreate.do"/>

    <forward name="find"                      path="agencyFind.do"/>

    <forward name="success"                 path="producerCreate.page"/>

</action>

 

 

forwards control to the following:

 

<action path="/agencyCreate"

        type="com.epolicy.arch.brokerage.web.agency.AgencyCreateAction"

        name="agencyCreateForm"

        validate="true"        

        scope="session">    

    <forward name="success"                 path="producerCreate.page"/>

</action>

 

Now AgencyCreateForm extends AgencyForm and AgencyCreateAction extends
AgencyAction. 

 

When the derived class AgencyCreateAction tries to type cast the
AgencyCreateForm in the execute() method, it throws a type cast
exception. This is because no instance of AgencyCreateForm is created
and it still persists the instance of AgencyForm. 

 

Can anyone guide me as to how I can resolve this problem. 

 

Regards,

Kavita C. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 31, 2003 10:19 AM
To: Kavita Cardoz
Subject: WELCOME to [EMAIL PROTECTED]

 

Hi! This is the ezmlm program. I'm managing the

[EMAIL PROTECTED] mailing list.

 

I'm working for my owner, who can be reached

at [EMAIL PROTECTED]

 

Acknowledgment: I have added the address

 

   [EMAIL PROTECTED]

 

to the struts-user mailing list.

 

Welcome to [EMAIL PROTECTED]

 

Please save this message so that you know the address you are

subscribed under, in case you later want to unsubscribe or change your

subscription address.

 

 

--- Administrative commands for the struts-user list ---

 

I can handle administrative requests automatically. Please

do not send them to the list address! Instead, send

your message to the correct command address:

 

To subscribe to the list, send a message to:

   <[EMAIL PROTECTED]>

 

To remove your address from the list, send a message to:

   <[EMAIL PROTECTED]>

 

Send mail to the following for info and FAQ for this list:

   <[EMAIL PROTECTED]>

   <[EMAIL PROTECTED]>

 

Similar addresses exist for the digest list:

   <[EMAIL PROTECTED]>

   <[EMAIL PROTECTED]>

 

To get messages 123 through 145 (a maximum of 100 per request), mail:

   <[EMAIL PROTECTED]>

 

To get an index with subject and author for messages 123-456 , mail:

   <[EMAIL PROTECTED]>

 

They are always returned as sets of 100, max 2000 per request,

so you'll actually get 100-499.

 

To receive all messages with the same subject as message 12345,

send an empty message to:

   <[EMAIL PROTECTED]>

 

The messages do not really need to be empty, but I will ignore

their content. Only the ADDRESS you send to is important.

 

You can start a subscription for an alternate address,

for example "[EMAIL PROTECTED]", just add a hyphen and your

address (with '=' instead of '@') after the command word:

<[EMAIL PROTECTED]>

 

To stop subscription for this address, mail:

<[EMAIL PROTECTED]>

 

In both cases, I'll send a confirmation message to that address. When

you receive it, simply reply to it to complete your subscription.

 

If despite following these instructions, you do not get the

desired results, please contact my owner at

[EMAIL PROTECTED] Please be patient, my owner is a

lot slower than I am ;-)

 

--- Enclosed is a copy of the request I received.

 

Return-Path: <[EMAIL PROTECTED]>

Received: (qmail 38403 invoked from network); 31 Dec 2003 04:49:08 -0000

Received: from unknown (HELO mumbai2.ezbroadnet.com) (203.124.136.26)

  by daedalus.apache.org with SMTP; 31 Dec 2003 04:49:08 -0000

Received: from ind-spz7gwy003.mastek.com (meghdoot.mastek.com
[203.124.144.12])

            by mumbai2.ezbroadnet.com (8.11.7p1+Sun/8.11.7) with SMTP id
hBV4k7A06598

            for
<[EMAIL PROTECTED]
ta.apache.org>; Wed, 31 Dec 2003 10:16:07 +0530 (IST)

Received: FROM ind-spz7gwy002.mastek.com BY ind-spz7gwy003.mastek.com ;
Wed Dec 31 10:16:36 2003 +0500

Received: from IND-SPZ7ECL001.mastek.com (unverified) by 

    ind-spz7gwy002.mastek.com (Content Technologies SMTPRS 4.3.12) with
ESMTP 

    id <[EMAIL PROTECTED]> for 

 
<[EMAIL PROTECTED]
ta.apache.org>

   ; Wed, 31 Dec 2003 10:16:36 +0530

X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0

content-class: urn:content-classes:message

MIME-Version: 1.0

Content-Type: multipart/alternative; 

    boundary="----_=_NextPart_001_01C3CF59.10A528F8"

Disposition-Notification-To: <[EMAIL PROTECTED]>

Subject: RE: confirm subscribe to [EMAIL PROTECTED]

Date: Wed, 31 Dec 2003 10:16:33 +0530

Message-ID:
<[EMAIL PROTECTED]>

X-MS-Has-Attach: 

X-MS-TNEF-Correlator: 

Thread-Topic: confirm subscribe to [EMAIL PROTECTED]

Thread-Index: AcPPWOjsISsYE5GDRbixny8C3KbkqAAACKhA

From: <[EMAIL PROTECTED]>

To:
<[EMAIL PROTECTED]
ta.apache.org>

X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

 

This is a multi-part message in MIME format.

 

------_=_NextPart_001_01C3CF59.10A528F8

Content-Type: text/plain; charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

 

=20

 

 

 

MASTEK

"Making a valuable difference"

Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.

In the US, we're called MAJESCO

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~=

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Opinions expressed in this e-mail are those of the individual and not
that =

of Mastek Limited, unless specifically indicated to that effect. Mastek
Lim=

ited does not accept any responsibility or liability for it. This e-mail
an=

d attachments (if any) transmitted with it are confidential and/or
privileg=

ed and solely for the use of the intended person or entity to which it
is a=

ddressed. Any review, re-transmission, dissemination or other use of or
tak=

ing of any action in reliance upon this information by persons or
entities =

other than the intended recipient is prohibited. This e-mail and its
attach=

ments have been scanned for the presence of computer viruses. It is the
res=

ponsibility of the recipient to run the virus check on e-mails and
attachme=

nts before opening them. If you have received this e-mail in error,
kindly =

delete this e-mail from all computers.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~=

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

 

------_=_NextPart_001_01C3CF59.10A528F8

Content-Type: text/html; charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

 

<html>

 

<head>

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;
charset=3Dus-ascii">

 

 

<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

 

<style>

<!--

 /* Font Definitions */

 @font-face

            {font-family:Garamond;

            panose-1:2 2 4 4 3 3 1 1 8 3;}

 /* Style Definitions */

 p.MsoNormal, li.MsoNormal, div.MsoNormal

            {margin:0in;

            margin-bottom:.0001pt;

            font-size:12.0pt;

            font-family:"Times New Roman";}

a:link, span.MsoHyperlink

            {color:blue;

            text-decoration:underline;}

a:visited, span.MsoHyperlinkFollowed

            {color:purple;

            text-decoration:underline;}

p.MsoPlainText, li.MsoPlainText, div.MsoPlainText

            {margin:0in;

            margin-bottom:.0001pt;

            font-size:11.0pt;

            font-family:Garamond;

            color:navy;}

@page Section1

            {size:8.5in 11.0in;

            margin:.7in 124.45pt 1.0in 124.4pt;}

div.Section1

            {page:Section1;}

-->

</style>

 

</head>

 

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

 

<div class=3DSection1>

 

<p class=3DMsoPlainText><font size=3D2 color=3Dnavy
face=3DGaramond><span

style=3D'font-size:11.0pt'>&nbsp;</span></font></p>

 

</div>

 

<FONT SIZE=3D3><BR>

<BR>

MASTEK<BR>

"Making a valuable difference"<BR>

Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.<BR>

In the US, we're called MAJESCO<BR>

<BR>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~=

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>

Opinions expressed in this e-mail are those of the individual and not
that =

of Mastek Limited, unless specifically indicated to that effect. Mastek
Lim=

ited does not accept any responsibility or liability for it. This e-mail
an=

d attachments (if any) transmitted with it are confidential and/or
privileg=

ed and solely for the use of the intended person or entity to which it
is a=

ddressed. Any review, re-transmission, dissemination or other use of or
tak=

ing of any action in reliance upon this information by persons or
entities =

other than the intended recipient is prohibited. This e-mail and its
attach=

ments have been scanned for the presence of computer viruses. It is the
res=

ponsibility of the recipient to run the virus check on e-mails and
attachme=

nts before opening them. If you have received this e-mail in error,
kindly =

delete this e-mail from all computers.<BR>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~=

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>

</FONT>

</body>

 

</html>

 

------_=_NextPart_001_01C3CF59.10A528F8--



MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that
of Mastek Limited, unless specifically indicated to that effect. Mastek
Limited does not accept any responsibility or liability for it. This e-mail
and attachments (if any) transmitted with it are confidential and/or
privileged and solely for the use of the intended person or entity to which
it is addressed. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. This e-mail and
its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and
attachments before opening them. If you have received this e-mail in error,
kindly delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to