File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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: 60810
    
  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.
 
 
subject: EL not displaying
 
Similar Threads
HFSJ P408 jsp Include tag example
jspf not working with <jsp:include> and <jsp:param>
.jspf file not behaving as .jsp file: example in HFSJ
using jsp:param
HFS p408 problem passing parameter