.JSPF File Extension
- Developer by: Oracle
- Category: Developer Files
- Format: Text
What is an .JSPF file?
.JSPF is Java Server Page Fragment
Web page source code file written using Java Server Page (.JSP) syntax; contains a fragment of JSP code that does not comprise an entire JSP document; used for abstracting reusable segments of code and statically including them in JSP pages.
JSPF files can be included in JSP pages using the <%@ include file="fragment.jspf"> syntax. They should be stored in the /WEB-INF/jspf/ directory of the Web server application's context root directory.
NOTE: In the JSP 2.0 specification, the term "JSP fragment" was renamed to "JSP segment."
File Type 2 JSON Playlist File
The JSPF file is a variation of the .XSPF file. Instead of using XML tags, the JSPF file is saved in the JSON structure, which doesn't require tags making it more compact than XML.
NOTE: Since the JSPF file is saved in plain text you can rename the extension to "txt" and open it in any text editor. You can also convert an XSPF file to a JSPF file using the XSPF to JSPF Parser.