problmes with my first JSP page..

I'm trying to create my first JSP page using NetBeans.

index.jsp:

<%@page contentType="text/html"%>

<%@page pageEncoding="UTF-8"%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<jsp:include page="WEB-INF/jspf/header.jspf">

<jsp:param name="title" value="Hello World" />

</jsp:include>

Hello World

<jsp:include page="WEB-INF/jspf/footer.jspf" />

header.jspf:

<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title><%=request.getParameter("title")%></title>

</head>

<body>

<h1><%=request.getParameter("title")%></h1>

footer.jspf

</body>

</html>

3 questions:

1) how can I output in the .jspf the parameters passed with jsp:param from the .jsp ?

2) i've tryed to write <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> in the file header.jspf, in order to use the JSTL, but it isn't interpreted by the server and is returned as plain text to the browser..so, is there a way to use JSTL in a file .jspf ?

3) the commands: <%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%> should be placed in every .jsp files or is enough to place them in the header.jspf that will be called by every .jsp in my website?

thank you very much.

[1961 byte] By [Leonardo_Da_Vincia] at [2007-11-27 4:06:42]
# 1
it seems that the problem was the extension .jspf that wasn't interpretered by the tomcat server
Leonardo_Da_Vincia at 2007-7-12 9:11:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...