Kyle, Thanks for the reply. But I ahve it declared. I have that defined in my html as follows <html:form method=get action="/checkInNew" enctype="multipart/form-data">
Appreciate any further insights.. > --- Kyle Wu <[EMAIL PROTECTED]> wrote: > mayby you forgot to set the "enctype" attribute in > the "<html:form ...>" tag, it should be > > <html:form ... ... enctype="multipart/form-data"> > > kommineni Anita <[EMAIL PROTECTED]> > > Hi, > Trying to upload a file using > property="primaryFile">. > In my Action form I have the property defined as > org.apache.struts.upload.FormFile and have > appropriate > getter and setter. > It gives me this exception > E SRVE0026E: [Servlet Error]-[BeanUtils.populate]: > java.lang.IllegalArgumentException: Cannot invoke > com.strykercorp.e3s.stellent.forms.CheckInNewForm.setPrimaryFile > - argument type mismatch. > > Appreciate any thoughts.. > Thanks > --- Jakub Milkiewicz wrote: > > > As far as i remember "d" means digit, but not > digits > > ... > > try to add + or *. > > > > > > 2006/5/10, temp temp : > > > > > > > > > > > > Note: forwarded message attached. > > > > > > ------------------------------ > > > Blab-away for as little as 1ï¿/min. Make > > PC-to-Phone > > > Callsusing > > Yahoo! Messenger with Voice. > > > > > > > > > > > > ---------- Wiadomo�� oryginalna ---------- > > > From: temp temp > > > To: [EMAIL PROTECTED] > > > Date: Wed, 10 May 2006 09:08:49 -0700 (PDT) > > > Subject: [java.util.regex ]using Regular > > Expressions > > > I am having problems with Regular Expressions > > usage. > > > I want to ensure that the user enters only > digits > > and no other characters. > > > For this I am using the code below. > > > I create a Pattern Object to which I pass a > > regular expression and when I > > > call matches method I always get false. What am > I > > doing wrong? > > > > > > Pattern p=Pattern.compile("\\d"); > > > System.out.println(p.matcher("456").matches()); > > > Thanks & Regards > > > > > > > > > > > > > > > ------------------------------ > > > How low will we go? Check out Yahoo! Messenger's > > low PC-to-Phone call > > > rates. > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > --------------------------------- > �Ż��������-3.5G�����20M���� > �Ż�����-����ɱ������ɧ�� __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]