Re: validation failed! please help!!!

2003-09-12 Thread Koni
I would try the following two changes (see ---): In your performView{} method... ... ActionErrors aes = new ActionErrors(); aes.add( aes.GLOBAL_ERROR, new ActionError(error.object.notfound, AddrBook)); saveErrors(request, aes); if (__log.isErrorEnabled())

Re: validation failed! please help!!!

2003-09-12 Thread basebeans
Thanks for your suggestion, i've tried but still no luck getting it works... Any other suggestion? Hope can get this solve ASAP... Koni [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would try the following two changes (see ---): In your performView{} method... ...

validation failed! please help!!!

2003-09-11 Thread basebeans
I have the following code working fine when the field is populated with value, but if left blank, the error came out, please help... --- entry.jsp --- %@ page import=java.util.*% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld

Re: validation failed! please help!!!

2003-09-11 Thread Koni Roth
Your error is: Cannot find bean 'error' in any scope! Where and how do you define 'error'? Do you have something like this in you Action: ActionErrors error = new ActionErrors(); ... error = ... ... saveErrors(request, error); return new ActionForward(mapping.getInput()); ... Koni basebeans

Re: validation failed! please help!!!

2003-09-11 Thread basebeans
Yes, the ActionErrors() is in the Action class. I attached the following Action class for your references, tq! package com.ilium.eapps.intmsg.controller; import java.util.*; import org.apache.commons.logging.LogFactory; import org.apache.struts.action.*; import javax.rmi.PortableRemoteObject;