--


please don't cross post messages like that.

> Manually encoding all of the URLs in your servlet output can be kind of
> a hassle,

true. that is why i build Dash which takes advantage of ECS to make life a
bit easier.

<http://www.working-dogs.com/dash/>

> and you lose state when you jump over to an HTML page.

true

> A while back we built some code that essentially acts as a proxy for a
> ServletOutputStream and rewrites URLs to maintain session data.  You can
> wrap this up in a servlet and use an AddHandler directive to send all
> requests for HTML pages through this rewriting servlet.  This will do
> state maintenance without using cookies.  After a while I hacked around
> on it a bit so that our state maintaining servlet would dynamically
> switch between cookies and URL rewriting, which is nice.

cool. i also have the same kind of code laying around. we used the
oromatcher stuff to do the replacements.

> If anyone is interested, I could probably get that code out under the
> GPL or something along those lines.  I'll warn you that the code isn't
> exactly pretty, and it isn't exactly fast, and the architecture is kinda
> funky, but if someone has the time they could probably clean it up and
> include it into JServ as part of the actual implementation of the
> session maintenance  part of the Servlet API.  I would love to do this
> but just don't have the time right now...

Since that isn't part of the api, it probably wouldn't go there. ;-) but, if
you want to donate it to the jserv_utils cvs tree that would be cool. Of
course GPL isn't welcome around here, so it would have to be under the Java
Apache style license.

-jon


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to