tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Hartung" <>
Subject Re: Any better way to do this?
Date Tue, 26 Apr 2005 00:14:39 GMT
> From: "joelsherriff" <>
> Sent: Monday, April 25, 2005 4:16 PM

> I want to setup what is basically a blog server - so that user's must
> and can then access
> their personal blog, but nobody elses.  I think I can do this using a
> servlet filter to trap requests to the
> blog pages, lookup the user's blog page url using the session info, and
> modify the request to point
> to his/her own blog, regardless of what blog they initially requested.
> Seems like there ought to be a better way but I'm pretty new to tomcat so
> .... is there?

Actually that's a perfect way to do it. You simply write the filter, install
it, and be done with it. The challenge being integrating with the Blog
software's registration system, perhaps, but the beauty of the system is
that the blogging servlets/JSPs/etc. are totally ignorant of the change, and
you can move ahead with very little knowledge of how the blogging software
works or is configured. It's a nice, non-invasive system to do exactly what
you want.


Will Hartung

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message