Hi,
    Then how do I solve my problem? I have to get BLOB CLOB from Database,
construct HTML files, Images from it. Store it in some temporary directory.
And give links to those temporary files for that particular session of that
client. I 'm doing this using session beans and Entity bean(I ve not yet
deployed the beans , but I ve written them , Hell I would have to change
many beans if this thing goes wrong)
Any pointers
Parikshit

-----Original Message-----
From: Paul Hodgetts <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, February 22, 2000 11:52 AM
Subject: Re: IO-restrictions and XML Files


>Parikshit wrote:
>
> >         In my session bean I want to access properties from a properties
> > file. Also in my sesson bean I'm creating an Image file(BLOB read from
the
> > database ) and a HTML File also read from database(CLOB,BLOB) .
> >     I had used Entity Bean to represent a table containing BLOB image.
And I
> > created a ".gif" file in the entity Bean. It worked fine. It did not
throw
> > any exception. How was this? I'm using WebLogic Server 4.5. I HAVE TO
access
> > files from my beans , as I will be storing HTML files  in temporary
> > directories , read from the database.
>
>I think this works for you because WebLogic 4.5.x implements a
>liberal version of the security permissions listed in section
>18.2.1.1 of the spec.  The spec says "should" deny, not "must"
>deny, so WebLogic is probably compliant with the spec (that's
>my interpretation).  But your beans probably won't be portable
>to other containers that implement a stricter version of the
>security permissions, and deny the FilePermission.
>
>-Paul Hodgetts
>
>===========================================================================
>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".

===========================================================================
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".

Reply via email to