tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <>
Subject RE: using ONLY taglib in JSP
Date Thu, 22 Nov 2001 16:25:25 GMT
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 ( 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. 

hope it helps, 

-----Original Message-----
From: Philippe ENTZMANN []
Sent: 22. nóvember 2001 15:36
Subject: using ONLY taglib in JSP

Need some advices to use ONLY taglib in my JSP pages.
We have some taglibs implementing our business model.
With a MVC approach in mind, we avoid using Java code
in our JSP and always put "model" into tag.
Is it possible de restrict JSP pags to only contains
tags (taglig, HTML, ...) et not Java source code
(<%...%>) ?

Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

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

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

View raw message