Java J2EE Tutorials Custom Tags with attributes in JSP

preview_player
Показать описание
In this tutorial we will learn about the custom tags in jsp.

Must Watch before continue this session :

Java J2EE Tutorials in Urdu/Hindi JSP Custom Tags

Introduction

A custom tag is a user-defined JSP language element. When a JSP page containing a custom tag is translated into a servlet, the tag is converted to operations on an object called a tag handler. The Web container then invokes those operations when the JSP page's servlet is executed.

JSP tag extensions let you create new tags that you can insert directly into a JavaServer Page just as you would the built-in tags you learned about in earlier tutorials. The JSP 2.0 specification introduced Simple Tag Handlers for writing these custom tags.

To write a custom tag you can simply extend SimpleTagSupport class and override the doTag() method, where you can place your code to generate content for the tag.

ammar,ammar ijaz,jsp, jsp programs , learn jsp , jsp page tutorial , jsp website , tutorial ,ammarijaz, Java J2EE Tutorials in Urdu/Hindi,java,J2EE , intellij idea
Рекомендации по теме
Комментарии
Автор

Thank you so much, this solved an error i was facing!

suketupatel
welcome to shbcf.ru