It seems the com.cd.forms.ContactUsFormBase doesn't inherit from org.apache.struts.action.ActionForm correctly.
Could you send us both the generated com.cd.forms.ContactUsFormBase and the com.cd.forms.ContactUsForm java files? Thanks. -- John At 08:44 pm 13-11-2001 -0800, you wrote: >Hi, > I've been getting compile errors when I compile the >action and form classes. My environment is Win2k >using jikes and ant. A sample of the messages: > >Found 1 semantic error compiling >"C:/Work/projects/0.2/so >urce/com/cd/actions/ContactActionBase.java": > > 29. (com.cd.forms.ContactUsForm) form, >request, response); > <--> >*** Error: An expression of type "ActionForm" cannot >be cast into type "ContactU >sForm". > >Found 1 semantic error compiling >"C:/Work/Clients/Campaign-Depot/projects/0.2/so >urce/com/cd/forms/ContactUsForm.java": > > 14. return super.validate(actionMapping, >resquest); > ><--------------------------------------> >*** Error: No match was found for method >"validate(org.apache.struts.action.Acti >onMapping, javax.servlet.http.HttpServletRequest)". > >Found 1 semantic error compiling >"C:/Work/Clients/Campaign-Depot/projects/0.2/so >urce/com/cd/actions/AdvancedSearchActionBase.java": > > 29. (com.cd.forms.AdvancedSearchForm) form, >request, response); > <--> > >__________________________________________________ >Do You Yahoo!? >Find the one for you at Yahoo! Personals >http://personals.yahoo.com >=== >To subscribe/unsubscribe, visit >http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user -- John Yu Scioworks Technologies e: [EMAIL PROTECTED] w: +(65) 873 5989 w: http://www.scioworks.com m: +(65) 9782 9610 Scioworks Camino - "Rapid WebApp Assembly for Struts" === To subscribe/unsubscribe, visit http://list.scioworks.com:8081/guest/RemoteListSummary/camino_user
