aspose file tools
The moose likes JSF and the fly likes ZipException when calling action in h:commandButton Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "ZipException when calling action in h:commandButton" Watch "ZipException when calling action in h:commandButton" New topic
Author

ZipException when calling action in h:commandButton

Soeren Liebich
Greenhorn

Joined: Apr 21, 2012
Posts: 4
Hi,

I get following Exception, when I submit a form with a command button:


JSF:



Bean:


I can't find out what causes this exception.

Greetings
Sören
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14456
    
    7

I wish I could give more help, but there's a limit to what I can do without making a billable project out of it and that's not why I'm here. You do seem to have a nasty one though.

Offhand, I would suspect one of 2 things, though:

1. You are attempting to embed a ZIP-format objects in an HTML webpage. HTML is text-only, so retrieving and unzipping a binary object transferred via a text channel isn't likely to end up happy. I don't really think this is is, because I don't think that there's any way that the unzip part would happen automatically anyway, but I could be wrong.

2. You have a corrupt ZIP/jar file on your server. This is more likely the case, although again I'm not sure where this is coming from. I have had issues where when my WAR was on a network share, Tomcat couldn't properly unzip and deploy it, though.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: ZipException when calling action in h:commandButton
 
Similar Threads
My binding with datatable give me null ate the backing bean, do i miss some thing
One to many mapping problem
javax.el.PropertyNotFoundException
Logic:iterator issue in Struts 1.3.10
commandLink not working in datatable+jsf2.0