File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Cookie and XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Cookie and XSLT" Watch "Cookie and XSLT" New topic
Author

Cookie and XSLT

David Neff
Greenhorn

Joined: Aug 01, 2006
Posts: 1
Is it possible to create a cookie in XSLT? I am very new to XSLT and would greatly appreciate any help.
Thanks a lot.
David
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12784
    
    5
Cookies in the usual (web browser) sense are generally set by headers in a web service response. You can use XSLT to create the body of a web page but not the headers.
You could use the XSLT to create JavaScript that runs when the page is loaded and sets a cookie, but that is getting pretty complicated.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookie and XSLT