[jboss-user] [JBoss Seam] - Re: Get context root (Application.xml)

tony.herstell@gmail.com do-not-reply at jboss.com
Thu Jan 10 04:30:04 EST 2008


This is useful too (in components.xml)...

<factory name="basePath" value="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.contextPath}/" />

giving...

h:graphicImage class="padded_right_left" alt="Hot" url="#{basePath}/images/background_flames_sm.gif" />

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

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



More information about the jboss-user mailing list