A tagdir or uri value is required in this directive

<%@ taglib prefix=”s” url=”/struts-tags” %>

스트럿츠2 + mybatis 게시판 작성중 jsp에 스트럿츠에서 제공하는 태그라이브러리 사용을 위해 위 코드를 상위에 기재하면

이런 에러가 발생함

Multiple annotations found at this line:
– A tagdir or uri value is required in this directive
– Line breakpoint:boardList.jsp [line: 3]
– Undefined attribute name “url”

해결방안
<%@ taglib prefix=”s” uri=”/struts-tags”%>

url 이 아니고 uri 임…

Advertisements

1 thought on “A tagdir or uri value is required in this directive”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s