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.


#TechXchangePresenter
 View Only
  • 1.  In Java Servlet, how can I link to the JSP generated by X-Ap

    Posted Fri November 01, 2002 03:37 AM

    Hi,

    I had used X-Application tool to generate an JSP application. And it works very well.

    On the other hand, I have a Java Servlet program which allows users to upload XML files and the XML documents will be inserted into Tamino database. And it also works very well.

    Now, I want to do the following tasks:
    1) After users finishing the upload of XML files, the Servlet program displays a list of all XML documents stored in the Tamino database (e.g. displays columns of ino:id and several elements).
    2) Every record in the list should have a link which users can click on it and so they will be brought to the VIEW.JSP (which is generated by X-Application) which shows the detail of the selected XML record.

    I cannot do that because I don’t know how and what parameters I should pass for the VIEW.JSP to let it know which record to be displayed. Can anyone give me solutions?

    Please help me! Thanks.

    Best Regards,
    Andy


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: In Java Servlet, how can I link to the JSP generated by X-Ap

    Posted Fri November 01, 2002 08:54 AM

    Hello,

    the parameters are

    :action=read
    :docid=/yourDoctype[@ino:id=]

    Example:
    http://localhost:8080/xapp/simple/hello.jsp?:action=read&:docid=/Property[@ino:id=1]

    An optional parameter to give your document a name id

    :document=myDocument

    However, the parameters are not a documented feature of X-Application and there is not guaranty that the parameters do not change for the next version of X-Application.

    Bye,
    Christian.


    #webMethods
    #API-Management
    #Tamino


  • 3.  RE: In Java Servlet, how can I link to the JSP generated by X-Ap

    Posted Tue November 19, 2002 08:58 AM

    Hello,

    this topic will be moved to the Assistance Forum in the next days.
    The assistance forum is intended to be used for technical questions and answers.

    Thank you for your understanding.

    Regards,
    Christian.


    #Tamino
    #API-Management
    #webMethods