Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Application blocked by java security in window 10

Tony007Apr 9 2019 — edited Apr 11 2019

hi am running form 11g where do i add my url if am geting Application blocked by java security

am not able to get that option where i can add my url

security123.jpg

Comments

807603
Open a FileOutputStream then read the InputStream a buffer at a time and write to the FileOutputStream.

P.S. Class java.io.File represents a handle on the file and not the content of the file.

Edited by: sabre150 on Jan 28, 2008 2:22 PM
807603
Hi,
Sorry for not presenting my problem correctly.
What i need is a File object handler for a file in the classpath if the name of the file present in the classpath is given.
( I was able to get the content of the file using classloader, but i actually need a handle to the file itself.)
807603
Use getResource() instead of getResourceAsStream(). This way you get an URI which you can use in the constructor of java.io.File.
807603
Hi thanks !
I was able to get URL by that method, and I now use
File f = new File(url.toString) 
and it works !

I had one more concern, will the above case fail in any situation ?
1 - 4

Post Details

Added on Apr 9 2019
9 comments
2,997 views