thank you! I found out the following (part)solution: this works and calls the dispatch action:
<html:link action="/lookupdispatch2?method=nix"/> </html:link> this doesn't work: <html:link action="/lookupdispatch2" paramProperty="method" paramName="nix"> </html:link> Can you give me a tip? Thanks! > To specify the corresponding value of paramId, you can use only one of the > following approaches: > Specify only the paramName attribute - The named JSP bean (optionally > scoped by the value of the paramScope attribute) must identify a value > that can be converted to a String. > Specify both the paramName and paramProperty attributes - The specified > property getter method will be called on the JSP bean identified by the > paramName (and optional paramScope) attributes, in order to select a value > that can be converted to a String. > > For more detail you can refer following link > http://struts.apache.org/struts-doc-1.2.4/userGuide/struts-html.html#link > > Hope it helps > > Sunil > > > > "starki78" <[EMAIL PROTECTED]> > 11/21/2005 04:41 PM > Please respond to > "Struts Users Mailing List" <user@struts.apache.org> > > > To > "user" <user@struts.apache.org> > cc > > Subject > How to call a dispatch-Action from a link? > > > > > > > in this example the first works and the second not: > dispatch from a submit-buttom: > > > //--<this works > <html:form action="/lookupdispatch2"> > <html:submit property="method"> > <bean:message key="button.nix"/> > </html:submit> > > dispatch from a link > > <html:link action="/lookupdispatch2.do" paramId="method" > > <bean:message key="button.nix"/> > </html:link> > > > > </html:form> > > > I get the error after clicking the link: > Request[/lookupdispatch2] does not contain handler parameter named > 'method'. > > Can someone help me? > Thank you! > Ciao > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]