• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in Tag file body-content

 
raja ram
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I know that we cant use scriptlets in tag file Tag Body. But in the below code


This code works fine. in the similar lines when i put.



Translation of JSP File Fails. Why first Option is working fine?

Thanks
[ October 30, 2008: Message edited by: raja ram ]
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi rajaram,
-------------------------------------------------------------
<%@ taglib uri="http://sun.com/cnpi/rsstag" prefix="mine" %>
---------------------------------------------------------------

it is not consider as a scriptlet ..it is a jsp directive.

scripting elements are like,

1.scriptlet 2.expression 3. declaration

Hope This Helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic