Title: Absolute path of uri within xsp

How can I find the absolute path of the requested uri within an xsp sheet. I mean this is what I'd LIKE to do.

      <xsp:logic>
        String uri = <xsp-request:get-uri as="string"/>;
        File file=new File(uri);
      </xsp:logic>
      <xsp:expr>file.getAbsolutePath()</xsp:expr>
 

Reply via email to