File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Relative path in Role Based Access Control(RBAC) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Relative path in Role Based Access Control(RBAC)" Watch "Relative path in Role Based Access Control(RBAC)" New topic
Author

Relative path in Role Based Access Control(RBAC)

Anil Kumar Saha
Ranch Hand

Joined: Apr 07, 2004
Posts: 111
Currently I'm working in Role Based Access Control(RBAC)module of a project.
I've to find the RELATIVE path of any file,which will be assigned to a user according to the privillege given to him/her.
If I use <input type="FILE" > then, I get the ABSOLUTE path.

Can anybody help me for finding RELATIVE path of a file?


Regards,

Anil Kumar Saha
SCJP 1.4
http://www.agilej.blogspot.com/
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not find the relative path, you can take the absolute path and chop it off to for a ralative path on the server side.

Eric
Anil Kumar Saha
Ranch Hand

Joined: Apr 07, 2004
Posts: 111
Originally posted by Eric Pascarello:
You can not find the relative path, you can take the absolute path and chop it off to for a ralative path on the server side.

Eric

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Relative path in Role Based Access Control(RBAC)
 
Similar Threads
RBAC - Role-Based Access Control
crosspost [need help] Java and science
what design pattern is good for this scenario ?
Controlling Access to Form fields?
Is there any Design Pattern for RBAC(Role Based Access Control) ???