> Resource access with Class.getResource() and > Class.getResourceAsStream() are allowed by the specification. They go > through the ClassLoader and the EJB server can easily handle this. Unfortunately this is incorrect. getResource() is about getting URL's to the resource, and getResourceAsStream simply calls getResource().openStream() (or something like that). Underneath this the JDK uses FileStreams, so it doesn't work because of the security restrictions. /Rickard -- Rickard �berg @home: +46 13 177937 Email: [EMAIL PROTECTED] http://www.dreambean.com Question reality =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
- Re: EJB restrictions and Class.getResourceAsStream() francis pouatcha
- Re: EJB restrictions and Class.getResourceAsStream() Emmanuel Pirsch
- Re: EJB restrictions and Class.getResourceAsStream() James Cook
- Re: EJB restrictions and Class.getResourceAsStre... Eric Williams
- Re: EJB restrictions and Class.getResourceAs... James Cook
- Re: EJB restrictions and Class.getResour... Assaf Arkin
- Re: EJB restrictions and Class.getResourceAsStre... Assaf Arkin
- Re: EJB restrictions and Class.getResourceAsStream() Assaf Arkin
- Re: EJB restrictions and Class.getResourceAsStre... dan benanav
- Re: EJB restrictions and Class.getResourceAs... Assaf Arkin
- Re: EJB restrictions and Class.getResourceAsStream() Rickard �berg
- Re: EJB restrictions and Class.getResourceAsStream() Assaf Arkin
- Re: EJB restrictions and Class.getResourceAsStream() francis pouatcha
- Re: EJB restrictions and Class.getResourceAsStream() Rickard �berg
- Re: EJB restrictions and Class.getResourceAsStream() Rickard �berg
- Re: EJB restrictions and Class.getResourceAsStream() Bill Shannon
