As per JSP 1.2 Spec, tlib-version, jsp-version, short-name, tag elements are mandatory elements in tld file. But JSP 2.0 only tlib-version, short-name are mandatory elements. But we can omit the short-name element, in some container eg: Tomcat. For exam purpose, stick with spec.
well tlib-version and short-name are mandatory. Its better to have both of them, so as not to run into problems when we run in other containers. Plus including the short-name is a good practice, as its used by IDE's to provide default prefix for tags.
I've been selected to go to the moon! All thanks to this tiny ad: