Marc Farrow wrote:
David,
Those tags are from the prefix of using teh "struts-bean" and
"struts-html" tag libraries. I think you just do not know (or have
not been
exposed) to tag libraries before.
Ok, thanks. You're correct that I haven't dealt with that kind of thing
before.
Carrie,
Try placing the file extension on your URI of your taglib tag.
On 6/13/06, David Kerber <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
>When I compile my jsp and java files, I get 9 warnings from the jsp
file.
>It appears not to recognize the html tags ie unknown tag (html:cancel).
>What have I done wrong? Here is the login.jsp file.
>
><%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
><%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
>
><html:html locale="true">
>
><head>
><title><bean:message key="welcome.title"/></title>
>
><html:base/>
>
>
Where are you coming up with these html tags? I've never seen tags that
start with '<html:". I'm used to seeing things like <html>, <form
name="myform">, etc.
></head>
>
><body bgcolor="white">
>
><html:form action="/login">
>
><html:errors/>
>
><table>
>
> <tr>
>
> <td align="center" colspan="2">
> <font size="4">Please Enter your Login</font>
> </td>
> </tr>
>
> <tr>
> <td align="right">
> Name
> </td>
> </tr>
><tr>
> <td align="left">
> <html:text property="name" size="4" maxlength="4"/>
> </td>
> </tr>
> <tr>
> <td align="right">
> Password
> </td>
> <td align="left">
> <html:password property="password" size="8"
maxlength="8"
>/>
> </td>
> </tr>
> <tr>
> <td align="right">
> <html:submit>Submit</html:submit>
> </td>
> <td align="left">
> <html:cancel>Cancel</html:cancel>
> </td>
> </tr>
></table>
></html:form>
></body>
></html:html>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]