I'm trying the build the code on HFSJ page 408. This is about including a page with the <jsp:include> tag that has a body. The page i'm trying to include has the same name as in the book, "Header.jspf". In this "Header.jspf" file I try to read out this param from the body of the JSP that does this include, with EL. But it is only printing the EL statement as plain text.
When I change the file "Header.jspf" into "Header.jsp" it is working. What does make sense because it is not a .jsp file. But what about this .jspf, what is this "jsp fragment"? Is this an error in the book? I just looked in the errata page of HFSJ but there is nothing about this.
Catherine van Borselaer
Joined: Jun 07, 2005
Ok, I see, maybe it's time to rest for me. I didn't put the extra mapping in my web.xml.