Try <html:link page="/testFinishReason.do">

Tim.

-----Original Message-----
From: MARK NICHOLS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 8:37 PM
To: [EMAIL PROTECTED]
Subject: <html:link> Tag and Actions


I have searched the archive, and read through the documentation but I can't
seem to find how to set my <html:link> tag to point to an Action class.

Here are some code examples...

Using the <html:form/> block I can get the proper action when the submit
button is pressed.
<...snip...>
<html:form action="/testFinishReason" >
<table border="0" width="100%">

 <tr>
    <td align="right">
      <html:submit property="submit" value="Submit"/>
    </td>
    <td align="left">
      <html:reset/>
    </td>
  </tr>

</table>

</html:form>
<...snip...>

However, when I try coding it with the <html:link/> block like this:

<html:link page="/testFinishReason"><bean:message
key="finishReasonTest.testLink"/></html:link>

it doesn't work. I've tried page= and forward= with equally bad results.
I'm guessing that I need to change my global forward in some way to point at
the proper action class so that the forward= would work. But I haven't been
successful in figuring out how to code that forward.

If anyone could point me in the right direction I would appreciate it very
much.

best regards,
/\/\ark


___________________________________
- mark h. nichols
- dhsv022 at dhs dot state dot il dot us

"Ooo. They've got the Internet on computers now." - Homer Simpson


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




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

Reply via email to