wood burning stoves 2.0*
The moose likes JSP and the fly likes EL not displaying 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 "EL not displaying" Watch "EL not displaying" New topic
Author

EL not displaying

zelynn goay
Ranch Hand

Joined: Jan 09, 2005
Posts: 30
Hi. i am trying out <jsp aram> and <jsp:include>, but the ${param.subTitle} couldn't be displayed. instead of showing 'welcome', the page display ${param.subTitle}. what did i miss out?

test.jsp


Header.jspf



appreciate any help.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60739
    
  65

First thing is to change the file type to .jsp rather than .jspf.

The .jspf file type should only be used for files included via the static include directive, not with the JSP include action.
[ September 21, 2005: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
zelynn goay
Ranch Hand

Joined: Jan 09, 2005
Posts: 30
thanks, bear. i change the file extensions, and it is appearing now. many thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: EL not displaying
 
Similar Threads
using jsp:param
.jspf file not behaving as .jsp file: example in HFSJ
jspf not working with <jsp:include> and <jsp:param>
HFSJ P408 jsp Include tag example
HFS p408 problem passing parameter