[jboss-user] [JBoss Seam] - Re: Getting the web application name dynamically

monkeyden do-not-reply at jboss.com
Wed Feb 6 13:40:27 EST 2008


Add a factory to your components.xml file:
<factory name="contextPath" auto-create="true" value="#{facesContext.externalContext.request.contextPath}"/>

Reference it as such:

  | #{contextPath}

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127138#4127138

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127138



More information about the jboss-user mailing list