I know you can't directly get an application path in Adobe, but how can I use Java to detect the domain as the root value for a link. My problem is I have three Web sites with an Identical PDF on them. The only difference is I need them to stay on whichever root site they are currently on when they click on a link within the PDF. So as of now I have to create 3 seperate PDFs with the same link paths/ just different domains. Please let me know if this is possible to automatical detect what site they are currently on so I can just create one PDF. Thanks.