David,

struts-form.tld was deprecated before Struts v1.0 and the current version is
1.2.9.  That suggests the documentation you are following is frightfully old
(like 2001, 2002 old).  If that is the case, keep in mind any references to
perform() were replaced by execute() in actions.  That was a big change some
time ago.  Anyway, instead of struts-form.tld you should be using
struts-html.tld.  And the convention used is often html:form, html:submit,
html:text and html:password.

Regards,
David

-----Original Message-----
From: David Fonseca Sánchez [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 5:58 PM
To: user@struts.apache.org
Subject: tag library


Hello

I'm new in struts, and in a example, the jsp is the next:

<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
       <form:form action="register.do">
               UserName:<form:text property="username"/><br>
               enter password:<form:password property="password1"/><br>
               re-enter password:<form:password property="password2"/><br>
       <form:submit value="Register"/>
       </form:form>

but I don't find the archive struts-form.tld. I have
 + struts-bean.tld
 + struts-html.tld
 + struts-logic.tld
 + struts-faces.tld
 + struts-nested.tld
 + struts-tiles.tld

but I don't have struts-form.tld. Where I can to get this archive?

Thanks!

--
David Fonseca Sánchez


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

Reply via email to