on 2012 Jun 19 6:22 PM
Dear gurus,
How can I set the values of a servlet with javascript ?
Thanks in advance,
Request clarification before answering.
Can you please elaborate more what you are trying to do? Appending &Name=Value to the end of the servlet call will send the information to the servlet for processing so if your javascript was grabbing a tagname from the user and requesting data it could look like:
/XMII/Illuminator?Server=Simulator&Mode=Current&TagName.1=XXXX
Where you simply append the string values accordingly.
If you are using xslt for display purposes, then having the xsl:param in the top seciont of the stylesheet allows the value to be used in the xslt. You can see an example in /XMII/Stylesheets/IllumRowsetHTML.xsl and the end result from something like:
/XMII/Illuminator?Server=Simulator&Mode=Current&TagName.1=XXXX&HeaderText=Hello World
**The Server/Mode/TagName.1 in the URL's above is just a shortcut to not use a query template, which would typically be the case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.