Skip to main content
1-Visitor
Oct 29, 2015 6:20 PM UTC
Question

Custom JSP page

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

    6 replies

    16-Pearl
    Nov 2, 2015 8:10 PM UTC

    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

    Translate
    1-Visitor
    Nov 2, 2015 11:27 PM UTC

    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

    Translate
    16-Pearl
    Nov 4, 2015 6:17 PM UTC

    Hi PAUL HARTWIG,

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

    Thanks,

    Kael

    Translate
    17-Peridot
    Nov 20, 2015 8:28 AM UTC

    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

    Translate
    16-Pearl
    Nov 23, 2015 4:22 AM UTC

    Hi Volker,

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

    Regards,

    Kael

    Translate