aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "TagLibs V/s jsp:include" Watch "TagLibs V/s jsp:include" New topic
Author

TagLibs V/s jsp:include

srividhya umashanker
Greenhorn

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: 363
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
Greenhorn

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: http://aspose.com/file-tools
 
subject: TagLibs V/s jsp:include
 
Similar Threads
HELP with JSP Access DB
Can't get c:import to work
problem with include files
Advantage of using <jsp:include> over <%@include>
I need to call a HtML file in c drive from my jsp