webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

JSP variables webMethods jsp tags

  • 1.  JSP variables webMethods jsp tags

    Posted Tue December 13, 2005 07:30 AM

    I’ve got a jsp page that loops through some data from the pipeline output. Formatting around these tags works great, but what if I want to do some additional data manipulation on those variables from the jsp page? The two solutions I can think of are #1 to do any data manipulation in the flow service before you hand it off to the jsp. #2 is to create some javascript to manipulate the data on the client side. #3 is what I need help with, but I’m not sure if it’s possible to do. Can I do the following for example:

    • JSP page grabs the pipeline variable with ’ webm:value variable=“myVariable” ’
    • Get that value into a Java String instance
    • Do what I want with that String, such as parse it into a java.util.Date.

    Thanks for the help!
    Justin


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: JSP variables webMethods jsp tags

    Posted Tue December 13, 2005 06:27 PM

    Found out how to do this, and just wanted to post the answer for reference. Use the “usePipeline” tag and it put your pipeline IData object into an instance called “webm_pipe”. Here is an example:

    <webm:usepipeline>
    <%>
    </webm:usepipeline>


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: JSP variables webMethods jsp tags

    Posted Fri December 16, 2005 06:54 PM

    Hello,

    Yemi Bedu


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB