struts-config.xml中org.apache.jasper.JasperException在struts1中
<action-mappings>
<action input="/index.jsp" name="HelloWorldActionForm"
path="/HelloWorld" scope="session" type="com.vaannila.HelloWorldAction">
<forward name="success" path="/helloWorld.jsp"/>
</action>
<action path="/Welcome" forward="/welcomeStruts.jsp"/>
</action-mappings>
的helloWorld.jsp
<%@taglib uri= "/WEB-INF/struts-bean.tld"prefix="bean" %>
<html>
<body>
<bean:write name="HelloWorldActionForm" property="message" />
</body>
</html>
我得到的例外是:
org.apache.jasper.JasperException: /helloWorld.jsp (line: 4, column: 54)
The JSP specification requires that an attribute name is preceded by whitespace
我无法理解为什么excep重刑即将到来。
要在我之后,好像在调试'helloWorld.jsp'的问题将是一个容易得多,如果我们有任何想法是' helloWorld.jsp'。 – 2012-02-27 16:50:10
我已添加hello world.jsp文件详细信息 – coder25 2012-02-28 16:26:35