Matthew,

I don't think abstract is part of the problem. I would recommend that you
define the ActionForm as its actual class myForm1/myForm2 and totally ignore
myCommonForm in the struts-config and your JSPs. Sounds like that's the way
you're doing things?

I'd do as David Hibbs mentions and also recommend that you don't have any
stray, older versions of any of these form classes, particularly the
abstract class. There are a lot of class paths/loaders where WAS will
attempt to load classes. This has bitten me more than a few times.

B

> -----Original Message-----
> From: Mathew, Manoj [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 31, 2004 5:44 PM
> To: Struts Users Mailing List
> Subject: RE: Struts issue..working in local WSAD/iwndows but 
> not in Web sphere Deployment/ AIX
> 
> 
> 
> Hi guys need your help
> 
> is this because i don't have any entry for  myCommonForm in 
> struts config.?
> 
> 
> -----Original Message-----
> From: Mathew, Manoj 
> Sent: Wednesday, March 31, 2004 3:59 PM
> To: [EMAIL PROTECTED]
> Subject: Struts issue..working in local WSAD/iwndows but not 
> in Web sphere Deployment/ AIX
> 
> 
> 
> I have a action form 
> public class myForm1 extends myCommonForm{}
> 
> public abstract class myCommonForm extends ActionForm{}
> 
> public class myForm2 extends myCommonForm{}
> 
> Here myForm1 and myForm2 have some common properties which 
> has put in myCommonForm(setters and getters) and i extend 
> that in both the myForm1 and 2.  myForm1 and 2 has their own 
> different propertis adn it's getters and setters too.
> 
> The issue is when i do myForm1  frm1 = (myForm1 ) form;
> drm1 doesn't seems to have any value which are common(ie the 
> properties in myCommonForm).. It's working fine in windows 
> local WSAD but not in web Sphere Server/AIX.... Please help 
> me out Manoj

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

Reply via email to