Welcome to
java ranch subhasmita , if you have a java program
mailtaghandler.java
then you have to create a tag library like this name it custom.tld
that's it now create your jsp file and define the above custom tag library like this
You got it... :) note the taglib prefix is where you are calling the custom library file