Try this:
<logic:present name=<%=Action.ERROR_KEY%>>
<html:link page="/editRegistration.do?action=Create">
<bean:message key="logon.registration"/>
</html:link>
</logic:present>
Shamir Juma
-----Original Message-----
From: Satyan Nair [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 12:16 PM
To: [EMAIL PROTECTED]
Subject: <html:error/> need help? (to TED)
i want to generate a particular link if there is any error!
according to the example in struts....the error tag is <html:error/>
i want to generate this link only if there is an error
<html:link page="/editRegistration.do?action=Create"><bean:message
key="logon.registration"/> </html:link>
how do i use the error tag...
i tried doing like
<html:error>
<html:errors/>
<html:link page="/editRegistration.do?action=Create"><bean:message
key="logon.registration"/> </html:link>
</html:error>
but it didn't work(obviously)!
how do i go about it?
take care...