Hello,
I have quite a few jsp pages that I would like to imbed in a master jsp page. The jsp that is imbedded would be determined by an sql query. The problem is that I don't know how to use a variable in the include directive's page attribute.
I've been able to make this work using the include action but the problem is that the included page needs to be able to access a hashtable in the parent. This doesn't work in the action include.
Does anybody know how to do something like:
<%@ include file="<%= myFile %>"%> or another approach that I might be overlooking?
Thanks, Richard
I have quite a few jsp pages that I would like to imbed in a master jsp page. The jsp that is imbedded would be determined by an sql query. The problem is that I don't know how to use a variable in the include directive's page attribute.
I've been able to make this work using the include action but the problem is that the included page needs to be able to access a hashtable in the parent. This doesn't work in the action include.
Does anybody know how to do something like:
<%@ include file="<%= myFile %>"%> or another approach that I might be overlooking?
Thanks, Richard