I found out that the hard way as well.... You have to do openConnection() typecast it to
JarUrlConnection to gain access.
Another way to do it which I experimented with was to *not* put "jar:" in front
of jarfiles for the URL. I don't know why that was done in the first place other than
to make the code a little easier to write.
In my "vfsfile:" prototype, I had the Handlers spit out the "real"
URLs while VirtualFile.toURL() would return a "vfsfile:" based URL. The
AbstractJarHandler would always return a "file:" based URL. Only jarentries
would return a "jar:" based one.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985574#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...