File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes TagLibs V/s jsp:include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "TagLibs V/s jsp:include" Watch "TagLibs V/s jsp:include" New topic

TagLibs V/s jsp:include

srividhya umashanker

Joined: Jun 26, 2003
Posts: 4
When To use, Tag libs and when to use jsp:include, can anyone explain with examples.
Charles Hasegawa
Ranch Hand

Joined: May 22, 2003
Posts: 117
jsp:include only includes the response from the included reference, nothing else.
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 364
Also, generally speaking, the tags in your taglib should not be application specific (e.g. they can be reused in other applications).

No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
srividhya umashanker

Joined: Jun 26, 2003
Posts: 4
Do u mean that i should not use custom tags to isolate the reusable code, taht is specific to that particular application?

It would be more useful, if u can explain with examples, when to use JSP-include/ taglibs and when not to...
I agree. Here's the link:
subject: TagLibs V/s jsp:include
It's not a secret anymore!