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

URL rewriting of links on xsl pages?

Subject: URL rewriting of links on xsl pages?
From: "Kevin Duffey" <kevin.duffey@xxxxxxxx>
Date: Sun, 4 Mar 2001 22:43:18 -0800
kevin muller
Hi there,

For some of you who are familiar with Java and the response.encodeURL()
method, I am curious..how is this done in XSL? Some clients may not accept
cookies. Therefore we must use url rewriting to encode the session id value
in the url. This needs to be done for EVERY link (and form) on every single
page. Is there some way XSL handles this automatically?

This is mostly to allow multiple web applications in a single J2EE
application, so that <a href="/path/page.jsp"> does NOT refer to the root of
the application. I think (not for sure yet) that when multiple web-apps are
deployed in a J2EE application, the / no longer points to the root of the
web application as there could be more than one. Generally, you specify
something like <a href="<%= contextPath %>/path/page.jsp"> where contextPath
is the "root_path" of the specific web application the page is being
accessed in.

Thanks.


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


Current Thread

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.