Hi, Need help on this scenario A Custom Tag is created which has a body content. In TLD it is like: <bodycontent>JSP</bodycontent> In some pages there is jsp code to put inside the custom tag which will be handled by tag handler. Eg:<customtag>jspcode.....</customtag> But for some pages there is no body but has a requirement to use the same tag.If i use like: <customtag></customtag> the tag handler fails because of no body.
Help me on this issue.
posted 11 years ago
try putting a blank between the start and end tag.