Craig,
Is their a round about date when Tomcat 4.0 maybe
available out of beta?
Filters are especially interesting. I haven't really
looked into them before.
Thanks,
-Karl
--- Karl Martino <[EMAIL PROTECTED]> wrote:
> Craig,
> Thanks man, it makes a ton of sense, but a major
> requirement was to get urls to look like plain old
> static html: take a gander:
>
> *http://inq.philly.com/content/inquirer/home/
>
*http://inq.philly.com/content/inquirer/2001/02/24/front_page/BLAIR24.htm
>
> What you're looking at, although it looks static, is
> a
> dynamically built page being returned from an in
> memory cache.
>
> Cofax uses what we call WysiwygTemplates. It's a
> YATL
> (Yet Another Templating Language) that we wrote to
> seperate programming from design, which it does
> admirably. Not only that, but due to the way Cofax
> chooses templates, you can drive a site with as
> little
> as two templates, one for urls that end with / and
> one
> for files.
>
> But now we would like to add JSP templating
> w/taglibs
> to the mix. Changing the url-pattern for Cofax is
> not
> something that's desired. I need another way :(
>
> -Karl
>
> --- "Craig R. McClanahan"
> <[EMAIL PROTECTED]> wrote:
> > Karl Martino wrote:
> >
> > > In a web application I have a top level servlet
> > > url-mapped to the web application's root.
> > >
> > > For example, my web application, called content,
> > has a
> > > url-mapping of /* . This is a controller
> servlet
> > in a
> > > MVC type application.
> > >
> >
> > In Struts, <http://jakarta.apache.org/struts>, the
> > recommended approach
> > is to map the controller to a filename extension
> > pattern, instead of
> > mapping everything like this. I prefer the "*.do"
> > extension, because it
> > implies "go do something" when you submit a form
> to
> > "/saveCustomer.do".
> >
> > The advantage of this approach is that the normal
> > mapping of "*.jsp" to
> > the JSP page compiler still works. The
> disadvantage
> > is that users can
> > bypass your controller and address a JSP page
> > directly. You cannot do
> > much about this in a servlet 2.2 environment, but
> in
> > a 2.3 environment
> > (like Tomcat 4.0) we'll be able to use the new
> > Filter APIs to do things
> > like enforce logged-on status.
> >
> > Craig McClanahan
> >
> >
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, email:
> > [EMAIL PROTECTED]
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]