Could you post the stack trace?

Geoff

On 8/19/05, Karen Low <[EMAIL PROTECTED]> wrote:
> Actually I did it in the form listener. However, the exception was thrown
> before the request hit page begin render. Hence, even i put a catch block in
> my listener, is of no use.
> 
> Any idea?
> 
> K.
> 
> On Friday 19 August 2005 12:05, Patrick Casey wrote:
> >       What happens when you try to catch it in the submit listener? Does
> > your catch block not run? Or are you trying to redirect directly from
> > there?
> >
> >       If memory serves, if you want to navigate via cycle.activate() you
> > have to do it in the form listener method, not the submit button's listener
> > message.
> >
> >       Altnerately, did you try catching the applicaitonruntimeexception
> > and re-throwing a PageRedirectException?
> >
> >       --- Pat
> >
> > > -----Original Message-----
> > > From: Karen [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, August 18, 2005 8:48 PM
> > > To: 'Tapestry users'
> > > Subject: File upload size problem
> > >
> > > Hi,
> > >
> > > I'm using Tapestry's Upload component to upload files. It throws
> > > org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException
> > > when
> > > the upload file size exceed the allow range. What I need to do is to turn
> > > that exception to a more meaningful message before display to the HTML
> > > page.
> > >
> > > I tried to catch the ApplicationRuntimeException from the submit
> > > listener's
> > > method, but to no avail.
> > >
> > > How to catch the ApplicationRuntimeException when this happen? Please
> > > advise.
> > >
> > > Thank you.
> > >
> > > Regards,
> > > Karen
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates:            http://spindle.sf.net/updates

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

Reply via email to