How to precompile jsp tag files?

http://download.oracle.com/javaee/1.4/tutorial/doc/JSPTags6.html says:

Tag files can also be compiled into Java classes and in the form of a tag library. This is useful when you want to distribute a binary version of a tag library without an original source. If you choose this form of packaging, you should use a tool that produces portable JSP code that uses only standard APIs.

How can I compile them? I tried jspc but this failed:

STRICTLY WRONG org.apache.jasper.JasperException: ... link.tagx (8,40) directive.attribute action can only be used in tag files

0
source share
1 answer

Look at the link. I think JSP precompilation also precompiles referenced TAGs.

0
source

All Articles