aspose file tools*
The moose likes JSP and the fly likes Tagfiles hate Taglibs 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 "Tagfiles hate Taglibs" Watch "Tagfiles hate Taglibs" New topic
Author

Tagfiles hate Taglibs

Sean Brown
Greenhorn

Joined: Jun 11, 2007
Posts: 11
I have recently come to know (the hard way) that JSP Tag files cannot use taglibs.
I am looking for alternatives and am asking to see if anyone knows a good way to have reusable JSP content.
I have tried include()s, but I can't seem to get the buffer to flush correctly and either the include terminates the response, or it is written before the including stream.
Any help or links would be appreciated, thanks.
--RProgrammer
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

"RProgrammer",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

Originally posted by RProgrammer:
I have recently come to know (the hard way) that JSP Tag files cannot use taglibs.


I am afraid that you have been misinformed. It is most certainly possible to use other taglibs within tag files.
Sean Brown
Greenhorn

Joined: Jun 11, 2007
Posts: 11
There, I presume that name is more acceptable.


Sigh.
I believe it is called a Heisenbug when speaking of the problem magically causes it to be resolved. I am used to that in Windows, but I never expected to see it on a Linux Server .
In any case it is now resolved. Although I didn't attempt this many more times because so many people actually said you couldn't use taglibs. I don't know what fixed it, but I am glad it is fixed.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

As am I. Welcome to the Ranch!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tagfiles hate Taglibs
 
Similar Threads
Basic doubt in the JSF
JSTL in Tomcat 5
Struts: includeactive in jsp
xslt error: "/WEB-INF/taglibs-xsl.tld" not found
Problem with JSP Includes