@taglib prefix="s" uri="/struts-tags"

<%@taglib  prefix="s" uri="/struts-tags"%>

此句意思是引入struts2的标签库;
@taglib表明引用标签;
prefix标签的前缀,是可自定义的;
uri=”/struts-tags”指明标签库的路径

猜你喜欢

转载自blog.csdn.net/m0_38022608/article/details/80195640