struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jiao <>
Subject Use html:link and LookupDispatchAction together
Date Thu, 24 Jul 2003 21:39:04 GMT

I have used the LookupDispatchAction with some buttons and it works
quite well. Now I want to submit the form by clicking on a link instead
of a button. I've tried something like this in my jsp file but it
returns me the error

<bean:define id="message">
  <bean:message key=""/>

<html:link action="/result"

type Status report

message Request[/result] does not contain handler parameter named method

description The request sent by the client was syntactically incorrect
(Request[/result] does not contain handler parameter named method).

I also tried to use javascript in the onclick attribute of html:link but 
it returns the same error.

So my question is, is it possible to use LookupDispatchAction to dispatsh 
actions from links at all?
If not, what would be proper way to implement similar functionality?
Should I discard whole LookupDispatchAction and use something else instead
of that, or just handle links differently?

Thank you very much!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message