The code premise looks OK; I've done similar.

My guess, given my experience with WAS, would be that either 

a) you didn't get a clean export with the right version of myCommonForm
exported and included in the WAR, and the right version of the WAR included
in the EAR

or

b) you didn't get a clean install.  WAS Support reccommends uninstalling
your app and reinstalling it each time you have a new version.  (It's even
documented in the InfoCenter.)  

        So my advice is to do a build all, re-export everything, uninstall
from your deployment server, and install your new version.  If you still
have problems, rummage through the installedApps directory and check the
date/time stamp on your class files.

David Hibbs, ACS
Staff Programmer / Analyst
American National Insurance Company

> -----Original Message-----
> From: Mathew, Manoj [mailto:[EMAIL PROTECTED]
> 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