• Post Reply Bookmark Topic Watch Topic
  • New Topic

Joining JSP declarations and Taglibraries elements  RSS feed

 
Gitanajali Magani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey can we have smthg like this?

I want to get information from the tag lib and wanna reuse the test method. I don't have any Java classes related to that. I have got to use the tag libraries. Is there anyway that I can use the classes directly which make the tld files?


<!-- CODE START -->
<%!
public String test(String param)
{
%>
<taglib:exists name="<%= param %>">
<%= param %>
</taglib:exists>
<%
}
%>
<!-- CODE END -->



This is not working for me. If at all I want to do something similar how should I proceed.

Regards,
Gita.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!