gesus
gesus

Reputation: 471

include jspf in another jspf

I'm working on a JSF project on NetBeans. I'm using JSPF fragments for modularity. My JSPF directory is "/WEB-INF/jspf". I'm using <jsp:include page="/WEB-INF/jspf/myincludefile.jspf"/> for including JSPF files.

The problem is: I tried to include a JSPF file in another JSPF file but it didn't work.

Upvotes: 2

Views: 2328

Answers (1)

ruhong
ruhong

Reputation: 1903

Yes I could include JSPF in a nested fashion with the include directive:

<%@ include file="/WEB-INF/templates/signin-button.jspf"%>

Using JSTL 1.2

Upvotes: 2

Related Questions