On Mon, Mar 9, 2009 at 12:23 PM, Len Popp <len.p...@gmail.com> wrote: > What I mean is, clients *never* access a .jsp file by URL, e.g. > "http://www.example.com/app/foo.jsp". All URLs seen by the client are > mapped to servlets, not JSP files.
> The reason for doing it this way is to separate app logic from page > layout. I find it difficult to code a substantial app by mixing Java > code into JSP pages, and it's lots easier to modify the format of a > web page if the app logic isn't all tangled up in it. +1 on that approach, makes life a whole lot easier. Besides being MVC, it goes along with Tim B-L's classic stance that "cool urls don't change" -- don't reveal the technology being used by using a file suffix that you may later want/need to change... -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org