Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-06 Thread Jules Gosnell
BTW, I've refreshed and everything is now cool - thanks. Jules Jason Dillon wrote: Just wondering, but why not use URLConnection.getURL().getFile() instead of URLConnection.getPermssion() ? --jason _ View thread online:

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-06 Thread Jason Dillon
Yes, this seems very odd to me. Still, why did this fail for you? I was under the impression that URLConnection.getPermission() would return an AllPermission and not a FilePermission, which would have caused this hack not to be used. If the _url field has been initialized to

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-05 Thread Scott M Stark
, LLC - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: Jules Gosnell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 04, 2002 10:31 PM Subject: Re: [JBoss-dev] (Jason) file protocol handler Oh... sorry. Not sure what the thing todo

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-05 Thread Jason Dillon
Just wondering, but why not use URLConnection.getURL().getFile() instead of URLConnection.getPermssion() ? --jason _ View thread online: http://main.jboss.org/thread.jsp?forum=66thread=12217 ___

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-05 Thread Jason Dillon
: Jason Dillon [EMAIL PROTECTED] To: Jules Gosnell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 04, 2002 10:31 PM Subject: Re: [JBoss-dev] (Jason) file protocol handler Oh... sorry. Not sure what the thing todo here is. We can either generate a FilePermission which uses

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-05 Thread Jules Gosnell
That would be a question for Greg - who left to go skiing this morning - tough life! : /* */ /** * Returns an File representing the given resource or NULL if this * is not possible. */ public File getFile() throws IOException

[JBoss-dev] (Jason) file protocol handler....

2002-04-04 Thread Jules Gosnell
Jason, Thanks for this - it should fix reloading JSPs ... However, Jetty deployment is now screwed ! In FileURLConnection.getPermission() where you say : public Permission getPermission() throws IOException { // should probably return a FilePermission here... // but I

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-04 Thread Jason Dillon
Oh... sorry. Not sure what the thing todo here is. We can either generate a FilePermission which uses the underlying File.canRead(), blah, blah, blah or we can simply omit this field and have the default AllPermision be used. Probably easier in the short term todo the later... though I

Re: [JBoss-dev] (Jason) file protocol handler....

2002-04-04 Thread Jason Dillon
Oh... wait... I am smoking some bad crack... I totally misread this and then applied that misreading to a fix which does not help at all. I have been in proxy-land for the last 5 hours and might be loosing my mind. Let me quickly check what the default sun impl does and I try to duplicate