0

I downloaded tomcat, eclipse, Struts framework. Tomcat is working. Where to place eclipse and Struts? I placed eclipse and Struts outside tomcat folder. The needed jar files are stored inside eclipse current folder. I'm getting error.

 <%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Hello World</title>
</head>
<body>
<bean:write name="helloWorldForm" property="message"/>
</body>
</html>
unknown tag:bean.write
4

1 に答える 1

0

EclipseはIDEです。Javaアプリケーションの開発に使用されます。1つのアプリケーションだけでなく、複数のアプリケーション。アプリ固有のjarをeclipseフォルダーに配置しないでください。

Struts(strutやstructではありません)はWebフレームワークです。そのjarファイルは、デプロイされたアプリケーションのWEB-INF/libフォルダーに配置する必要があります。Eclipse Webプロジェクトでは、それらの場所は(通常)<yourProjectDirectory>/WebContent/WEB-INF/libです。

于 2012-05-01T07:39:13.077 に答える