File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes question on tag files: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "question on tag files:" Watch "question on tag files:" New topic
Author

question on tag files:

Jingh Yi
Ranch Hand

Joined: Mar 23, 2005
Posts: 90
My view.jsp code that includes a tag file:

My tag file footer.tag:


My question:
How come the view.jsp shows '${subTitle}' instead of 'haha'?

Thanks!
Jenny
Osama Hasan
Ranch Hand

Joined: Sep 30, 2002
Posts: 53
Hi Jenny!
Try adding the following directive in your tag file:

<%@tag isELIgnored="false" %>


SCJP 1.4<br />SCWCD 1.4
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Are you sure you placed footer.tag under WEB-INF/tags?


Leandro Melo
SCJP 1.4, SCWCD 1.4
Jingh Yi
Ranch Hand

Joined: Mar 23, 2005
Posts: 90
Osama, you are so cool! it worked after I added that directive! Many thanks!

Melo, I did put it in /WEB-INF/tags.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: question on tag files: