This can be done, although I'm not using the html:link tags, nor is my documentaion up-to-date enough to include a description of the "action" attribute in your tag. You are, of course, including the "parameter" attribute in your struts-config mapping for this action, right? Your use of the paramName attribute is also suspect, do you have a String in visible scope named "message" containing the value to associate with the parameter id?
m --- David Jiao <[EMAIL PROTECTED]> wrote: > Hello, > > 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="button.search"/> > </bean:define> > > <html:link action="/result" > paramId="method" > paramName="message"> > </html:link> > > 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! > > David > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

