[jboss-user] [JBoss Portal] - Re: jsp include not working

cry4dawn do-not-reply at jboss.com
Wed Oct 17 17:38:00 EDT 2007


is this in a regular jsp or a jsf jsp? and an easier way to do include params is assign it in the parent jsp:

<% final String x = "xyz";%>

then use the old fashioned include

<%@ include file="page2.jsp"%>

then in page2.jsp you can

<% out.write(x);%>

given that you are using straight up jsp's and if using jsf put the scriptlets before the <f:view>

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

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



More information about the jboss-user mailing list