0% found this document useful (0 votes)
28 views

Creating Project in Net Beans

To create a custom tag library in NetBeans, start by making a new Java Web Application project and giving it a name. Then right click the web application folder and select New > Tag Library Descriptor to add a TLD file, giving it a name. Next, right click the source packages folder and select New > Tag Handler to add a tag handler class file associated with the TLD. Finally, code can be written in the handler class and JSPs to define a custom tag.

Uploaded by

Ghufran Asif
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Creating Project in Net Beans

To create a custom tag library in NetBeans, start by making a new Java Web Application project and giving it a name. Then right click the web application folder and select New > Tag Library Descriptor to add a TLD file, giving it a name. Next, right click the source packages folder and select New > Tag Handler to add a tag handler class file associated with the TLD. Finally, code can be written in the handler class and JSPs to define a custom tag.

Uploaded by

Ghufran Asif
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 10

Creating a Project in NetBeans for building Custom tags

Follow the guidelines given below Go to File->New Project Select Java->Web Application and click Ne t button

Now, give name of Project in Project Name field and click Finis! button

Right click on Web application folder and go to New->"ag #ibrar$ %escriptor

f "ag #ibrar$ %escriptor is not shown then click &t!er

Now Select "ag #ibrar$ %escriptor

Give the name of tld in "#% Name field and click Finis! !utton

"o develop tag handler class, Right click on 'ource Pac(ages Now go to New->"ag )andler

Give the name of tag handler class in Class Name and then click Ne t button

Now click Browse button and select tag handler descriptor from tlds folder and then click 'elect File button

Give the tag name in "ag Name field and click Finis! button

Now #ou can write #our own code within html, jsp, tag handler class, etc

You might also like