On Fri, Jan 03, 2003 at 04:00:55PM +0100, Rickard Öberg wrote:
> Jason Carreira wrote:
> >As opposed to what? This is a model-2 MVC framework. It uses a controller 
> >servlet as its entry point.
> 
> Using a controller servlet that intercepts all requests but only deals 
> with some of the requests is going to be unnecessary overhead.

If the overhead really matters that much, you could map all actions to a
prefix, e.g. /actions/*. 

The advantage of having the ability to intercept all requests is that
you can have an action execute even for static files. For example, log
requests to a particular image to a database, or dynamically replace
your index.html with action-generated content based on the time of
day. There are a lot of possibilities here.

-Chris


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to