> I have a bean whose methods are called from a JSP page.
>
> Im trying to set up the catalina.policy file to allow very specific
> read/write access for my bean.
>
> It is not recognising, or reading/writing to either the Codebase I give
it,
> or the directories i want it to read/write in, no matter what I try and
> write!!
>
> I was wondering, should the codebase be the http address of my JSP page,
or
> the directory path to my bean?

Two minutes of googling (see [1] and [2]) brought up [3] which is IMO
exactly what you want.
Always remember: Google is your friend!

-mw

[1]
http://www.google.de/search?q=java+policy+docs&ie=UTF-8&oe=UTF-8&hl=de&meta=
[2]
http://www.google.de/search?hl=de&ie=UTF-8&oe=UTF-8&newwindow=1&q=java+polic
y+examples&meta=
[3]
http://java.sun.com/products/jdk/1.2/docs/guide/security/permissions.html#Fi
lePermission

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to