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...



Reply via email to