I think you're also missing one of href, action, page, or forward. See http://struts.apache.org/userGuide/struts-html.html#link for details.

While I'm at it, I'm not sure about the use of a JavaScript onclick handler with the html:link tag. I don't think that will do what you want it to do. Neither am I sure about your use of the POST method when submitting the form or why you are using JavaScript at all. If I understand what you are trying to do, the HTML that you want is simply:

<a href="varAttributes.do?action=view&filename=something">View</a>    

To get this, you probably want to do:

<html:link page="varAttributes.do?action=view" paramName="map" paramProperty="key">View</html:link>

If you need the JavaScript, I'd leave off the html:link tag altogether and piece together the HTML that you need.

-- Jeff

Phani wrote:
    <TD>
        <html:link onclick="Javascript:doView();" name="map"
paramId="filename" paramName="key"> View </html:link>
    </TD>



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



Reply via email to