
Untitled
By: a guest on
Apr 25th, 2012 | syntax:
None | size: 1.00 KB | hits: 18 | expires: Never
org.apache.jasper.JasperException in 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>
<jsp:forward page="HelloWorld.do"/>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri= "/WEB-INF/struts-bean.tld"prefix="bean" %>
<!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=UTF-8">
<title>Hello World</title>
</head>
<body>
<h1><bean:write name="HelloWorldActionForm" property="message"></bean:write></h1>
</body>
</html>
org.apache.jasper.JasperException: /helloWorld.jsp (line: 4, column: 54)
The JSP specification requires that an attribute name is preceded by whitespace