Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get a server to recognize .jspf files

843836Jun 1 2005 — edited Apr 28 2008
Do you need to do anything special in the server's configuration in order to get it to recognize a .jspf file? I have a file that I was including in my jsp page with the following code:
<jsp:include page="WEB-INF/inc/content/myPage.jsp" flush="true" />
This works just fine. But when I rename my included file to have the extension of .jspf (see below), everything between my <% %> tags show (e.g. import statements, java scriptlets, etc.).

<jsp:include page="WEB-INF/inc/content/myPage.jspf" flush="true" />
Does anyone have any idea why this is happening? I am using JBoss 4 with tomcat 5.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2008
Added on Jun 1 2005
6 comments
490 views