tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject RE: using ONLY taglib in JSP
Date Thu, 22 Nov 2001 16:59:45 GMT
It's at the Jakarta Taglibs site:

  http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html

Enjoy!

Shawn

On Thu, 22 Nov 2001, Philippe ENTZMANN wrote:

> Thanks a lot.
> 
> Where can I download this ?
> 
> Just a step further ...
> Is there a way to automatically include a <%@ taglib
> %> in all the JSP pages a compilation time. So all
> pages will be scriptlet-free ?
> 
> --- Shawn Bayern <bayern@essentially.net> wrote:
> > There's a standard, easier way to handle it:  you
> > can use a
> > TagLibraryValidator to ensure that the page contains
> > no scriptlets.  
> > JSTL's (early-access) reference implementation comes
> > with a
> > 'scriptfree.tld' library that you can import using
> > the <%@ taglib %>
> > directive.  This library ensures that its page
> > doesn't use any scriptlets.
> > 
> > Shawn
> > 
> > On Thu, 22 Nov 2001, Reynir Hübner wrote:
> > 
> > > Never seen such a switch in tomcat...
> > > 
> > > in theory you should be able to get the source of
> > Tomcat and find out
> > > how it parses the JSP pages (with Jasper) and
> > change it so it will not
> > > parse <% %>.
> > > 
> > > You can check out velocity
> > (http://jakarta.apache.org/velocity) that is
> > > a template engine. It might help you in your task.
> > > 
> > > Then I question your Model, as I would never want
> > to take the ability
> > > away from my system to be able to have code in JSP
> > layer.  Of course as
> > > we implement the MVC I understand that the View
> > should not contain any
> > > buisnesslogic, but then again it might have
> > presentation logic. 
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:taglibs-user-help@jakarta.apache.org>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
> 
> --
> To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message