taglib 디렉티브를 다음과 같은 코드에서 <%%>이 싫어서

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

다음의 코드로 바꾸려고...

<jsp:directive.taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core">


    그런데 다음과 같은 에러가 난다.

     &lt; jsp:directive.tag directive can only be used in a tag file 이라는 에러메시지가 나면서

     제대로 기능이 실행되지 않는다. 해결방법이 있을까?