• 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!