struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject <html:link> Tag and Actions
Date Tue, 26 Feb 2002 20:37:03 GMT
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.

<html:form action="/testFinishReason" >
<table border="0" width="100%">

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



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,

- 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:   <>
For additional commands, e-mail: <>

View raw message