[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

best way to call doGet on servlet using xsl?

Subject: best way to call doGet on servlet using xsl?
From: "TP" <tpass001@xxxxxxxxxxx>
Date: Wed, 14 May 2003 13:24:39 -0500
servlet doget
I use xsl on my xml to generate html on the client using xalan. On the html
i provide hyperlinks back to the server using hrefs as below

<tr>
       <td>
        <div>
         <a>
          <xsl:attribute
name="HREF">javascript:cl('../servlet/test1?TranType=login&amp;subTran=navFi
rst&amp;linkData=<xsl:value-of select="Data"/>&amp;')</xsl:attribute>
          <img src="../images/treetop.gif" border="0" alt="Show document
directory"/>
         </a>
        </div>
       </td>
      </tr>

where cl is a javascript function in an external .js file as below

function cl(org){
 window.location=org+"s="+Math.random();
 }
 return;

}


Is this the best way to do this? I wanna know what other developers use to
call servlet doGets using xsl, since I do not know anyone else who uses xsl.

Please let me know and I appreciate the help

Thanks.

TP.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • XML merge
    • Molnar Agnes - Wed, 14 May 2003 04:41:54 -0400 (EDT)
      • Mike Trotman - Wed, 14 May 2003 11:53:12 -0400 (EDT)
        • Mike Brown - Wed, 14 May 2003 13:14:12 -0400 (EDT)
        • Michael Kay - Wed, 14 May 2003 14:11:02 -0400 (EDT)
          • TP - Wed, 14 May 2003 14:21:17 -0400 (EDT) <=
          • TP - Thu, 15 May 2003 09:00:28 -0400 (EDT)
      • <Possible follow-ups>
      • Jarno . Elovirta - Wed, 14 May 2003 05:16:14 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.