This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes about .jspf files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "about .jspf files " Watch "about .jspf files " New topic

about .jspf files

mohan gavande
Ranch Hand

Joined: Oct 07, 2004
Posts: 39
for which perpose .jspf files are used? Are they similar to .jsp files?
In one project some .jspf files are included .
Please clarify whats the exact differance between .jsp & .jspf

Thanking in advance.

~ Mohan
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60774

.jspf files are generally files that are included in .jsp files via the include directive. The 'f' stands for 'fragment' as these files are not full JSPs in and of themselves.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

If you are want to pre-compile all of your JSPs and have a lot of files that are only used as includes; that wouldn't compile as standalone pages, then changing the extension to something other than '.jsp' will cause Jasper/ANT (or whatever other tool you might be using) to skip those files.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
mohan gavande
Ranch Hand

Joined: Oct 07, 2004
Posts: 39
Thanks all you. Now i understand the clear concept of .jspf extension file

~ Mohan
I agree. Here's the link:
subject: about .jspf files
Similar Threads
using EL in jsp include file
what can be in a tag body?
Organizing/Modularizing Javascript in large JSP file
Is there a way to stop websphere from compiling jsps in a particular folder?
JSPF files, Tiles and Struts???