PDF in new tab
Added by Ron Tidwell about 7 years ago
Hi,
I have been struggling with all day. I am trying to open a PDF file that I created in a separate window. It open another window but starts the application in that window.
I get the follow from the server:
[2017-Mar-21 17:26:32.331295] 11829 - [info] "Wt: session created (#sessions = 4)"
\" Not sure why the server created a new session?\"
[2017-Mar-21 17:26:32.331518] 11829 [/ uLKNH3rOdkB6W9VE] [info] "WEnvironment: UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
10.1.0.242 - - [2017-Mar-21 17:26:32.332835] "GET /?_=file%3a///home/rtidwell/PDF/PrintList.pdf HTTP/1.1" 200 2264
"Just above it looks like the server finds it okay."
"Then the server continues starting a new instance of the application."
[2017-Mar-21 17:26:32.332892] 11829 - [info] "WebRequest: took 1.871ms"
[2017-Mar-21 17:26:32.481415] 11829 [/ uLKNH3rOdkB6W9VE] [warning] "WApplication: Deploy-path ends with '/', using /?_= for internal paths"
10.1.0.242 - - [2017-Mar-21 17:26:32.482384] "GET /?wtd=uLKNH3rOdkB6W9VE&request=style&page=1 HTTP/1.1" 200 88
[2017-Mar-21 17:26:32.482428] 11829 - [info] "WebRequest: took 91.315ms"
10.1.0.242 - - [2017-Mar-21 17:26:32.494318] "GET /?wtd=uLKNH3rOdkB6W9VE&sid=1833804444&webGL=true&scrW=1280&scrH=1024&tz=--240&htmlHistory=true&deployPath=%2F&request=script&rand=290058139 HTTP/1.1" 200 42651
[2017-Mar-21 17:26:32.494351] 11829 - [info] "WebRequest: took 15.395ms"
10.1.0.242 - - [2017-Mar-21 17:26:32.632547] "POST /?wtd=uLKNH3rOdkB6W9VE HTTP/1.1" 200 1623
[2017-Mar-21 17:26:32.632575] 11829 - [info] "WebRequest: took 0.706ms"
10.1.0.242 - - [2017-Mar-21 17:26:32.978811] "POST /?wtd=uLKNH3rOdkB6W9VE HTTP/1.1" 200 880
[2017-Mar-21 17:26:32.978842] 11829 - [info] "WebRequest: took 0.551ms"
10.1.0.242 - - [2017-Mar-21 17:26:34.599230] "POST /?wtd=uLKNH3rOdkB6W9VE HTTP/1.1" 200 136
[2017-Mar-21 17:26:34.599262] 11829 - [info] "WebRequest: took 0.269ms"
127.0.0.1 - - [2017-Mar-21 17:27:37.379116] "POST /?wtd=GhPTJOQBsqQzbKr6 HTTP/1.1" 200 49
[2017-Mar-21 17:27:37.379187] 11829 - [info] "WebRequest: took 0.422ms"
I am setting the InternalPath to "file:///home/rtidwell/PDF/PrintList.pdf"
I can set a URL link to a different web site okay, but this is file so I am using Internal Path Link.
I am confused. Any help or ideas pointing me in the right direction would greatly appropriated.
Thanks,
Ron
Replies (2)
RE: PDF in new tab - Added by Wim Dumon about 7 years ago
RE: PDF in new tab - Added by Ron Tidwell about 7 years ago
Hi Wim,
I that will work, I am going to try it now.
Thanks a lot!!!!
Ron