IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  JSP problem

    Posted 09/28/02 10:28 AM

    X-Application Version: 3.1.3, 3.1.2, 3.1.1
    Tamino Version : 3.1.1
    Platform : NT, Win2k, Solaris, …
    WebContainer : Tomcat 3.3
    JDK Version : 1.3.1
    Hi
    I want to assign the result of a query to a variable.
    eg. I have this query /user[id=‘nf’]/type (sure that have only one doc back) and I want to assign it to a variable type in my jsp page.
    is it possible ?

    LOVE


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: JSP problem

    Posted 09/30/02 01:24 PM

    First,
    do you want to store the whole document or the content of /user/type only?

    Here is a possibility to store the content of /user/type when using X-Application 3.1.3:

    <BR><xapp:directcommand type="read" docid="/user[id='nf']" document="theDocument"/><BR><BR><xapp:form document="theDocument"><BR>   <xapp:setvar name="typeInVar" scope="session"><BR>            <xapp:display select="/user/type"/><BR>   </xapp:setvar><BR></xapp:form><BR>



    Retreiving the variable is possible with our
    getvar tag:
    e.g.: <xapp:getvar name=“typeInVar”/>

    Bye Thorsten


    #webMethods
    #Tamino
    #API-Management