Jsp tags are evaluated on the server when the page is requested. The jsp source is compiled into a servlet and this is executed. The output is sent to the client browser. So if an event now happens on the browser (like selection from a list) it’s too late to start resolving or executing jsp tags.
So there are a few different ways you can address this:
1) You could script your query using the Tamino JScript API, and trigger the script using the “onChange()” event on the selected control. This all happens client-side, so it doesn’t allow you to use the xapp jsp tags.
2) You could completely resubmit your form using a similar script, to make the browser reload the page. This in turn would cause all the jsp tags to be re-evaluated. You could pass the user-selected value in a hidden form field, and use that field to control this second evaluation.
HTH
#webMethods#Tamino#API-Management