File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes can some .zip files (not java classes) be included in WEB-INF/classes too ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "can some .zip files (not java classes) be included in WEB-INF/classes too ?" Watch "can some .zip files (not java classes) be included in WEB-INF/classes too ?" New topic
Author

can some .zip files (not java classes) be included in WEB-INF/classes too ?

Frank Sikuluzu
Ranch Hand

Joined: Dec 16, 2003
Posts: 116
My servlet uses some action classes, and the action classes need to use some binary .zip file as input file (these binary .zip are not java classes). Can I include the .zip files in WEB-INF/classes as well ? These .zip are not lib files either.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
yes you can. Just don't try to access them using a URL as that won't work.


42
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
Yea, you can.

I can use a library with .zip extension

Dan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can some .zip files (not java classes) be included in WEB-INF/classes too ?
 
Similar Threads
/WEB-INF/test.zip
is it possible to forward back the protected zip file Behind WEB-INF in Websphere
Difference b/w .jar, .ear, .war ?
TOMCAT remind me where to put jar files (can't find MySQL driver)
fragment was not found error