I have a project in Java thgat needs to use;
<%@include file="content.jsp" %>
to include a file into the current jsp page.
However, I now need the content.jsp to be dynamic.
How can I substitute everything in the quotes with a variable?
So;
<%@include file=myVariable %>
Instead of using static include, you can use dynamic include, then you can do something like this:-
or