Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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: 63865

.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] [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
It's not a secret anymore!