Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36158

    Hi!

    While upgrading from v3 to v4 I encountered two problems related to generating PDFs from JSPs. First was already mentioned by someone else: https://pd4ml.com/forums/topic/image-and-style-sheet-not-being-found-using-relative-url/
    (I confirm what madhu123 said – relative URLs, especially ones that include parameters like /generateImage?id=1234 don’t work at all, you have to give full URL with server address.)

    More importantly, even when they work (with full address), they are called without original JSP session attributes. This means that the servlet which returns images rejects such requests (images are only available to logged in users).
    I’m pretty sure the JSP is run within a proper session (I debugged it) but all the external links are not.

    #36159

    I will add that both things worked in v3.

    #36160

    Hi! We’ve just created helpdesk ticket, based on the topic. An email notification must appear in your mailbox soon

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.