husted      2004/01/18 05:14:03

  Modified:    web/examples/WEB-INF/exercise struts-config.xml
               web/examples/exercise html-img.jsp
  Log:
  Apply #26127 "<html:img> tag lacks "action" attribute" suggested by Firepica.
  
  Revision  Changes    Path
  1.5       +2 -0      jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml
  
  Index: struts-config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/WEB-INF/exercise/struts-config.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- struts-config.xml 17 Jan 2004 04:15:00 -0000      1.4
  +++ struts-config.xml 18 Jan 2004 13:14:03 -0000      1.5
  @@ -21,6 +21,8 @@
       <action path="/welcome" forward="/index.html" />
       <action path="/bean-write-2" forward="/bean-write-2.jsp" />
       <action path="/html-img" forward="/html-img.jsp" />
  +     <!-- :FIXME: ImageAction should compute module prefix -->
  +    <action path="/html-img-action" 
type="org.apache.struts.webapp.exercise.ImageAction" 
parameter="/exercise/struts-power.gif"/>
       <action path="/html-link" forward="/html-link.jsp" />
       <action path="/html-link-submit" 
type="org.apache.struts.webapp.exercise.HtmlSettersAction" name="testbean" 
scope="session" validate="false">
         <forward name="input" path="/html-link.do" />
  
  
  
  1.2       +1 -4      jakarta-struts/web/examples/exercise/html-img.jsp
  
  Index: html-img.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/examples/exercise/html-img.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- html-img.jsp      16 Jan 2004 03:52:15 -0000      1.1
  +++ html-img.jsp      18 Jan 2004 13:14:03 -0000      1.2
  @@ -29,10 +29,7 @@
       Struts img tag via action attribute
       </td>
       <td>
  -    [:TODO:]
  -    <%--
  -    <html:img action="/struts-power" />
  -    --%>
  +    <html:img action="/html-img-action" />
       </td>
       </tr>
     </body>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to