Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: PD4ML.render proxy issue
    #28190

    Hi,

    Thanks for your response.
    But it is not a cookie problem, we have no problem with the session. The problem is for pd4ml to go through our proxy.

    best regards,

    in reply to: fmt library is ignored
    #27766

    Hi !
    Thanks for your response.

    It’s exactly that: <fmt:formatNumber> is interpreted (and does not appear in the HTML, passed to PD4ML), but the resulting numeric data format is invalid.

    You were right ! It was a problem about the Locale.

    But I can’t understand why. Sessions are correctly propagated. I’m sure of this since I use them in my struts action. I use pd4Ml.setSessionId(), I put explicitly the sessionid in the url, I use pd4ml.setCookie("JSESSIONID", sessionId) but nothing works, numeric datas aren’t formatted !

    Finally, I ‘ve added the definition of locale directly in my JSP:
    <fmt:setLocale value="FR_fr"/> and now it works fine !!!

    I don’t understand why I need to do that since Sessions are correctly propagated ….
    Anyway, It works fine now.

    Thank you very much for your help.
    Best Regards,

    in reply to: fmt library is ignored
    #27764

    thanks a lot for your response.

    I don’t understand very well your response for my issue #1:

    I’ve to compute in a sigle pdf doc severals jsp pages. What’s why I use the pd4ml.render(URL[], OutputStram) syntax. Moreover those jsp can by used in a “screen” mode so I can’t use the tag <pd4ml:transform>

    My array of URL is:
    https://my_server/ctx/struts_action.do?arg=val1
    https://my_server/ctx/struts_action.do?arg=val2
    …..
    https://my_server/ctx/struts_action.do?arg=valn

    where struts_action is the name of an action in my struts-config.xml file and ctx the name of my web app

    I can’t address directly the JSP, I’ve to invoke a struts action before.

    So I thought Tomcat will interpret jstl tag before giving the result to pd4ml.
    Do you have an idea why it is not the case ?

    Regards,

    in reply to: Images cannot be loaded
    #27353

    Thanks.

    I’ve already added this piece of code.

    But I’ve found the problem: it comes from the DisplayChart code of JFreechart.
    It needs some little changes to work with pd4ml.

    Since I find this, my company (service from french government) can buy a licence of your product.

    regards,

    in reply to: Images cannot be loaded
    #27351

    Thank you for your response.

    I can now load all my statics images, but I can’t load dynamical images created by JFreeChart.

    I include those images in my JSP by a call to the DisplayChart servlet provided by the JFreechart library. The syntax of this call is :

    request.getContextPath() + “/servlet/DisplayChart?filename=” + filename

    thanks for your help

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