File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Creating your own tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Creating your own tag" Watch "Creating your own tag" New topic

Creating your own tag

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Hi all,

I am writing my own tag. Now, in this, I write -


When I load JSP which use this tag, I see -


and not the interpreted output.

Could anyone please help me solve this??

Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
You can't use other taglibs like that. You need to call their Java implementation directly.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Can you give me some examples ??
It is sorta covered in the JavaRanch Style Guide.
subject: Creating your own tag
Similar Threads
Tag to display and fill Form
struts tags mixed within scriplets
Array dispaly
Output bean-data as plain text
less than changes to &lt; automatically?