Skip to main content
1-Visitor
October 29, 2015
Question

Custom JSP page

  • October 29, 2015
  • 2 replies
  • 2266 views

All,

     Where do I find documentation on creating a custom JSP page? 

     I am looking for a way to execute a trigger without editing/saving an item.   My first thought was to create a JSP page that could be accessed by a hyperlink in the web client that would call use the api to execute the trigger.  However, I am having issues getting a simple JSP page to create a session and execute a simple command.  I am looking for documentation on setting up the environment and how to maintain the session info for the user that called the JSP.

Thank you,

Paul Hartwig

Ingersoll-Rand

    2 replies

    16-Pearl
    November 2, 2015

    Hello Paul,

    Could you share what you've done so far, at least in general terms?  Are you establishing an API session from the JSP?

    Regards,
    Kael

    1-Visitor
    November 2, 2015

    Kael,

        I have figured out how to get a simple command to execute from a new API session in the JSP.  I am now working on how to pass the user session from the ootb page to my new jsp page.  Do you know if this is possible?  I looked at using the httpsession but it appears that is is null and the IterationPoint.getSessions() returns more than just the current user session.

    Thank you,

    Paul Hartwig

    16-Pearl
    November 4, 2015

    Hi PAUL HARTWIG,

    Could you open a case to look into this in more detail?

    Thanks,

    Kael

    17-Peridot
    November 20, 2015

    Hi Paul,

    juast wondering if you can share the results from your try outs with us. Are you able to handover the session details already?

    Best Regards

    Volker

    16-Pearl
    November 23, 2015

    Hi Volker,

    From my research, it looks like there is no supported way to do this.

    Regards,

    Kael