简体   繁体   中英

Struts Exception

an error in my jsp file, I'm using struts

<%@taglib uri="/struts-tags" prefix="s"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<s:url namespace="/" action="produits"></s:url>
<s:a href="%{lien1}">Produits</s:a>
</body>
</html>

This is the message which I receive when I execute my script:

the file "/struts-tags" not found

Include the struts2-core-2.3.20.jar (latest jar at the time of writing) in your WEB-INF\\lib folder. And clean the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM