in design
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   guru_prasanth
Posted On:   Tuesday, September 17, 2002 08:06 PM

iam using jsp,javabean and taglib combination.what i want to know to put most of html in taglib and call in jsp and make my business logic in java beans or to have most the html code in jsp and use few taglibraries.

Re: in design

Posted By:   Lasse_Koskela  
Posted On:   Tuesday, September 17, 2002 11:47 PM

In my opinion, you shouldn't enclose HTML in taglibs. That just separates your presentation from your presentation (HTML in two different places - in JSP and inside tags).


Business logic (e.g. calculating taxes) in JavaBeans is good.

Programming logic (e.g. looping) in taglibs is good.

HTML in JSP is good.

About | Sitemap | Contact