Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 25th, 2012  |  syntax: None  |  size: 1.00 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. org.apache.jasper.JasperException in struts1
  2. <action-mappings>
  3.     <action input="/index.jsp" name="HelloWorldActionForm"
  4.     path="/HelloWorld"   scope="session" type="com.vaannila.HelloWorldAction">
  5.         <forward name="success" path="/helloWorld.jsp"/>
  6.     </action>
  7.     <action path="/Welcome" forward="/welcomeStruts.jsp"/>
  8. </action-mappings>
  9.        
  10. <jsp:forward page="HelloWorld.do"/>
  11.        
  12. <%@page contentType="text/html" pageEncoding="UTF-8"%>
  13.  <%@taglib uri= "/WEB-INF/struts-bean.tld"prefix="bean" %>
  14. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  15.    "http://www.w3.org/TR/html4/loose.dtd">
  16.  
  17.   <html>
  18.   <head>
  19.       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  20.       <title>Hello World</title>
  21.  </head>
  22. <body>
  23.      <h1><bean:write name="HelloWorldActionForm" property="message"></bean:write></h1>
  24.   </body>
  25.  </html>
  26.        
  27. org.apache.jasper.JasperException: /helloWorld.jsp (line: 4, column: 54)
  28.  The JSP  specification requires that an attribute name is preceded by whitespace