struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkat Jonnalagadda <venkat.jonnalaga...@epropose.com>
Subject is the userguide wrong or am i wrong...
Date Fri, 24 Aug 2001 17:48:17 GMT
I was going through the userguide for struts on the apache site.Under the
subsection 3.3.1 there is this html using the tags, I think that the prefix
html is wrongly used for the message as i failed to see a tag "message" in
struts-html.tld.

I enclosed the html below and used the ##--## to point what i think might be
wrong.
Any idea?

Venkat

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld"
        prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld"
        prefix="bean" %>
<html:html>
<head>
<title>
  <bean:message key="logon.title"/>
</title>
<body bgcolor="white">
<html:errors/>
<html:form action="/logon" focus="username">
<table border="0" width="100%">
  <tr>
    <th align="right">
      <html:message key="prompt.username"/> ################ is this prefix
correct? ##############
    </th>
    <td align="left">
      <html:text property="username"
                     size="16"/>
    </td>
  </tr>
  <tr>
    <th align="right">
      <html:message key="prompt.password"/>################ is this prefix
correct? ##############
    </th>
    <td align="left">
      <html:password property="password"
                         size="16"/>
    </td>
  </tr>
  <tr>
    <td align="right">
      <html:submit>
        <bean:message key="button.submit"/>
      </html:submit>
    </td>
    <td align="right">
      <html:reset>
        <bean:message key="button.reset"/>
      </html:reset>
    </td>
  </tr>
</table>
</html:form>
</body>
</html:html>

Mime
View raw message