// Java Document
> { 
> // exePath is the Request.CurrentExecutionPath and we trim off the actual ASPX page designation and
> // replace that with the "filePath" which represents the path and PDF that we want to display.
> string fullPath = exePath.Substring(0, exePath.LastIndexOf('/'));
> fullPath += filePath;
> // Next, we create a physical path from the virtual path
> fullPath = Server.MapPath(fullPath);
> // Create a FileInfo object and write it to the response.
> FileInfo theFile = new FileInfo(fullPath);
> Response.Clear();
> Response.ContentType = "application/pdf";
> Response.Flush();
> Response.WriteFile(theFile.FullName);
> Response.End();
> }
