The most common cause of this in LookupDispatchAction is the presence of "whitespace" in the label value. So in the example I gave you, this happens if you don't put the tags all on one line, something like this:
<bean:define id="fooVar"> <bean:message key="foo.label" /> </bean:define> You need them, on one line, like this: <bean:define id="fooVar"><bean:message key="foo.label" /></bean:define> Otherwise you need to look at how you've set up the "key method map" - returned by the getKeyMethodMap() method in your LookupDispatchAction or if you have specified the correct parameter and label value in your jsp. Niall ----- Original Message ----- From: "Yariel Ramos Moreno" <[EMAIL PROTECTED]> To: "Struts" <user@struts.apache.org> Sent: Wednesday, March 08, 2006 3:19 PM Subject: Re: Submit a html:form with a link Niall: I tried your solution but it does't work. I get the exception: SEVERE: Servlet.service() for servlet action threw exception javax.servlet.ServletException: Request[/search] does not contain handler parameter named searchType at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction. java:199) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 ) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC onnection(Http11BaseProtocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav a:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo rkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) at java.lang.Thread.run(Thread.java:595) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]