1. Request Method:
      POST
      2. Status Code:
      200 OK
      3.
      1. Response Headersview source
      1. Cache-Control:
      no-cache, no-store, max-age=0, must-revalidate
      2. Content-Language:
      en
      3. Content-Transfer-Encoding:
      binary
      4. Content-Type:
      application/pdf;charset=ISO-8859-1
      5. Date:
      Wed, 14 Dec 2016 10:00:40 GMT
      6. Expires:
      0
      7. Pragma:
      no-cache
      8. Server:
      9. Set-Cookie:
      serverTime=1481709636121; Expires=Wed, 14-Dec-2016 10:00:52 GMT;
      Path=/
      10. Set-Cookie:
      downloadStop=stop; Expires=Wed, 14-Dec-2016 10:00:43 GMT; Path=/
      11. Strict-Transport-Security:
      max-age=31536000 ; includeSubDomains
      12. Transfer-Encoding:
      chunked
      13. X-Content-Type-Options:
      nosniff
      14. X-Frame-Options:
      DENY
      15. X-XSS-Protection:
      1; mode=block
      2. Request Headersview source
      1. Accept:

      text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
      2. Accept-Encoding:
      gzip, deflate, br
      3. Accept-Language:
      en-US,en;q=0.8
      4. Cache-Control:
      max-age=0
      5. Connection:
      keep-alive
      6. Content-Length:
      79
      7. Content-Type:
      application/x-www-form-urlencoded
      8. Cookie:
      SESSIONTIME=D2EEFC60F45BD577E2CCD97CE71EA4D8
      9. Host:
      www.thevgr.com
      10. Upgrade-Insecure-Requests:
      1
      11. User-Agent:
      Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko)
      Chrome/54.0.2840.99 Safari/537.36
      3. Form Dataview sourceview URL encoded
      1. action:
      openVGR
      2. _csrf:
      a7b0617b-9207-4696-aaae-cbd5954d2190


Thanks & Regards,
Raviraj Shah


On 13 December 2016 at 20:28, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Raviraj,
>
> On 12/12/16 11:50 PM, RAVIRAJ SHAH wrote:
> > Do you mean logs at the time of pdf download request
>
> I mean the HTTP protocol trace. Something like this:
>
> Request:
> GET /path/to/pdf/download
> Host: myserver.example.com
> Accept: application/pdf
> Connection: keep-alive
>
>
> Response:
> 200 Ok
> Content-Type: application/pdf
> Content-Length: 234554
>
> [the contents of the file]
>
> > Or anything else like protocol trace method
>
> If you use FireBug, Chrome dev tools, etc. then copy/paste will be
> fine too.
>
> > Can you sharechow to have tht
>
> I'm not sure what you mean, here.
>
> - -chris
>
> > On Tue, Dec 13, 2016, 03:34 Christopher Schultz <
> > ch...@christopherschultz.net> wrote:
> >
> > Raviraj,
> >
> > On 12/10/16 12:21 AM, RAVIRAJ SHAH wrote:
> >>>> We develop jrxml file using jasper Studio  and then use java
> >>>> code to display that jrxml file which opens in new browser
> >>>> tab and by right  click on that file we are able to download
> >>>> this as pdf file in tomacat 8.0.14 but  some how in Tomcat
> >>>> 8.0.39 the same code doesn't  works,  it does  not allows
> >>>> files to download as pdf from browser.  Instead it shows pdf
> >>>> file type as all files and on downloading it shows failed
> >>>> network error.
> >
> > Please take a protocol-trace of the HTTP response when you request
> > the PDF and post it here.
> >
> > -chris
> >
> >>>> On Fri, Dec 9, 2016, 23:23 Christopher Schultz
> >>>> <ch...@christopherschultz.net> wrote:
> >>>>
> >>>> Raviraj,
> >>>>
> >>>> On 12/9/16 11:24 AM, RAVIRAJ SHAH wrote:
> >>>>>>> I am using jasper reports the library using jasper
> >>>>>>> report development studio
> >>>>
> >>>> No, you're not. The development studio is a GUI for building
> >>>> reports.
> >>>>
> >>>> - From the Tomcat perspective, you are just using
> >>>> JasperReports library.
> >>>>
> >>>>>>> I mean to say i can see pdf file on browser but when i
> >>>>>>> try to save that pdf
> >>>>
> >>>> So the PDF displays correctly in the browser? That sounds
> >>>> like it's working as expected.
> >>>>
> >>>>>>> i dont see file type as adobe acrobat file and saving
> >>>>>>> pdf giving error
> >>>>
> >>>> What does the "file type" show up as instead of PDF?
> >>>>
> >>>> When you "save" (how?) what error do you get?
> >>>>
> >>>>>>> I am generating pdf file on runtime i am not storing
> >>>>>>> file physically
> >>>>
> >>>> So are you streaming the file back to the client? That's not
> >>>> a feature of JasperReports, so you must have written a
> >>>> servlet wrapper that does this for you. What does the code
> >>>> look like?
> >>>>
> >>>>>>> One more thing same functionality working very fine
> >>>>>>> with tomcat 8.0.14
> >>>>
> >>>> Understood. I suspect the problem is with your code; the
> >>>> Tomcat upgrade has merely revealed the problem.
> >>>>
> >>>> -chris
> >>>>>
> >>>>> ------------------------------------------------------------------
> - ---
> >>>>>
> >>>>>
> >
> >>>>>
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >>>>> For additional commands, e-mail:
> >>>>> users-h...@tomcat.apache.org
> >>>>>
> >>>>>
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >>
> >>
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJYUAyHAAoJEBzwKT+lPKRYsgkP/iVi0rQ+L4Ea4cKZsMDUh0ns
> cxdqFzjsl+xiAsJCTW5xkjnuqKkreTXr8QkcwCGKKoexkL0Nbs7cal02DlWfWl3A
> FbyaXzEXIMj1/1uw+rw6Su899eQDN8jxsSNkxgeQb/n1gTNON1UJSbV4wtX2RIlb
> s5brU2eL/zVHBGEYqpHFqalBxfj+KDsog8UnTvEdcBBwLj3ey7FuGBagnhpsuwED
> M/fqVlXAIMgYiymYZG/ze0UmVP60pCz/p9bS4BGJcFFvu33gvBBPiObnhSPZBz/e
> i3OW6aW0mie1SFrZ7Btn08iv6rVfsoSJiWSOFj35/NyRLtShR+IJc3WQ+7P880mR
> O7T84pkMgpaGoCCwEOa0P8thCzqRHdHqnWAR3JY9MqVyAeJDDLX+RSwyKnuXKtJi
> jU2Jsdg05REhuViH3nzg64GxSvTEmd5S/Nxhl2VMl00ScenTjQN9R6brRIm79jx2
> zgpQjSjlboyXAS4KcdU6dFCrLKjfsXM79+uuu06uYR09WnoLYb1MAzeh2PKV7TtG
> nohZ4oyZbrzPCd/A3YzzhsI5H47GFrmAs4HXwxGiZ0nUkx2V/FJP/B/gy4PSPTii
> o+UC2qIKgw+LqV8I7TP1O8JUCkMMcn5U+2bkapZaa3mPPtz/vQA5pR3JpgiiCrX1
> A7lFzWrO81K8x2ewoqsX
> =l51H
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to