Greetings all, I'm using embedded Jetty. I have a preferences page where users can specify "old" or "new" style pages. User preferences are stored in cookies via javascript.
I also have links on the pages for example: <li><a href="link1.html">link1</a></li> <li><a href="link2.html">link2</a></li> ... Here's what I want to happen: If the user clicks on link1 and the preference cookie is "old" then I want the link to be sent to link1.old.html. I've briefly looked briefly at Jetty RedirectPatternRule and RewriteRegexRule but as far as I can tell these won't let me construct a new URL from the old URL plus cookie information? Any suggestions on the best way to accomplish my desired goal are greatly appreciated. Thanks. Lou.
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
