org.mortbay.jetty.servlet

Class TagLibConfiguration

public class TagLibConfiguration extends Object implements WebApplicationContext.Configuration

TagLibConfiguration. The class searches for TLD descriptors found in web.xml, in WEB-INF/*.tld files of the web app or *.tld files withing jars found in WEB-INF/lib of the webapp. Any listeners defined in these tld's are added to the context. <bile>This is total rubbish special case for JSPs! If there was a general use-case for web app frameworks to register listeners directly, then a generic mechanism could have been added to the servlet spec. Instead some special purpose JSP support is required that breaks all sorts of encapsualtion rules as the servlet container must go searching for and then parsing the descriptors for one particular framework. It only appears to be used by JSF, which is being developed by the same developer who implemented this feature in the first place! </bile>

Author: gregw

Constructor Summary
TagLibConfiguration()
Method Summary
voidconfigureClassPath()
voidconfigureDefaults()
voidconfigureWebApp()
WebApplicationContextgetWebApplicationContext()
voidsetWebApplicationContext(WebApplicationContext context)

Constructor Detail

TagLibConfiguration

public TagLibConfiguration()

Method Detail

configureClassPath

public void configureClassPath()

configureDefaults

public void configureDefaults()

configureWebApp

public void configureWebApp()

getWebApplicationContext

public WebApplicationContext getWebApplicationContext()

setWebApplicationContext

public void setWebApplicationContext(WebApplicationContext context)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.