• Post Reply Bookmark Topic Watch Topic
  • New Topic

<body-content> of tag query

 
geet rahane
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

suppose we declare in TLD <body-content> scriptless</body-content> and assume we have one attribute say name
<attribute>
<name>name</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
then can we use the scripting for retrieving attribute value as
<myprefix:mytag name="<%=request.getPrameter("uname")>">

i think we can use ...only in body of tag scripting is not allowed..correct me if i'm wrong

thanks in advance
 
Chinmaya Chowdary
Ranch Hand
Posts: 437
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Geet. We can use.
 
Ankit Garg
Sheriff
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
geet please Use Code Tags when you post a source code. Edit your message using button and then add code tags to it...
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
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!