• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to link a jsp with a tag

 
Manu mayank
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
   I am struggling with a problem as to how I can link a jsp with a tag.

For example: we define

1) a tld
2) a java class
3) a jsp where I include the tag.


Is there a way to replace the tag with a jsp inside the jsp where I include the tag. I couldn't find any example over internet. I am stuck with this for very long.


Regards,
mayank
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you think you need a JSP inside a JSP?

What is this inner JSP supposed to do?

Bill
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's already a tag that does that (<jsp:include>), why would you need to write another?

Or, you could look into JSP tag files.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!