This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JSF and the fly likes ZipException when calling action in h:commandButton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
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: 6
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: 16019
    
  20

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ZipException when calling action in h:commandButton