Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2009
    Posts
    1

    Unanswered: pass parameter through cgicmd.dat key

    I have a form that sends a value to a report to be generated

    report is generated through below url
    Code:
    web.show_document('http://localhost:8889/reports/rwservlet?report=d:\rep.jsp&destype=cache&desformat=pdf&userid=username/password@tnsname&p_wo_no='||:global.wo_no);
    p_wo_no is a parameter that takes its value from the form from :global.wo_no

    I created a key in cgicmd.dat to hide username and password for security as clarified below

    Code:
    key2:  report=d:\rep.jsp  usedid=username/password@tnsname destype=cache desformat=pdf
    I have a button in a form to call report using below url

    Code:
    web.show_document('http://localhost:8889/reports/rwservlet?cmdkey=key2&p_wo_no='||:global.wo_no);
    the problem is that when report is generated an empty page is displayed
    Last edited by imuharram; 08-28-09 at 17:27.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •