Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

how to create dynamice include


Hi All:

I am using Icefaces 1.8.2 with JSF 1.1.
I can make the following include work:
jsp:directive.include page="/test/contacts/testMain.jspx"

However, I cannot make the following include work:
jsp:directive.include page="#{sessionBean.tab.url}"

I want the value to come from the bean "sessionBean.tab.url"

The only way I can make it work would be to convert the project to facelet and use this:
ui:include src="#{sessionBean.tab.url}" /

I took out the less and greater than tags because this website won't show it.
I don't want to use facelet.