climbingjaffa
asked on
Error: when trying to include a jsp within another jsp page
</form>
<% if(request.getAttribute("s
{
%><%@ include file="/subcategory.jsp"%>
<%
}
%>
Error:"category.jsp": /subcategory.jsp(0,0) Page directive: can't have multiple occurrences of language at line 79, column 13
ASKER
Both have java code in them though! So what should i do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How do you write a jsp include? Would that sort it out?
ASKER
Thanks removed language declaration (at the top) an problem sorted :-)
or use jsp:include (depending on your requirements)