So here are the explanations!!!
JSP:
A JSP page is a text document that contains two types of text:
- Static data - which can be expressed in any text-based format (usually HTML).
- Dynamic content - Constructed using JSP elements
Embedding the whole JSP page:
For embedding source files of complete JSP pages, the files should use the extension, .jsp.
Embedding the JSP fragment:
For embedding incomplete JSP segments, the files should use the extension, .jspf. (It needs not to be legal JSP pages and thus may not compile properly).
References:
http://en.allexperts.com/q/JSP-Java-Server-3299/difference-jsp-jspf-files.htm
http://publib.boulder.ibm.com/infocenter/wchelp/v5r6/index.jsp?topic=/com.ibm.commerce.developer.doc/refs/rsdjspbpjspf.htm
http://java.sun.com/developer/technicalArticles/javaserverpages/code_convention
No comments:
Post a Comment