struts2 - Struts 2 Select tag error -


I'm beginning Strops 2. I tried an example,

And then tried to execute the code in eclipse, but I had an error? Anybody can help me solve this error

I got the error like ....

  Critical: Servlet.service () for servlet jsp threw exception tagged 'Select' field list 'name' yourSearchEngine ': requested list key "search engine" collection / array / map / enumeration / iterator can not be resolved as follows. . Example: people or people {name} - [unknown] org.apache.struts2.components.Component.fieldError (Component.java:237) on org.apache.struts2.components.Component.findValue (on Component.java: 358) org.apache.struts2.components.ListUIBean.evaluateExtraParams (ListUIBean.java:80) on org.apache.struts2.components.Select.evaluateExtraParams (Select.java:105) on org.apache.struts2.components.UIBean on .evaluateParams org.apache.struts2.components.UIBean.end (UIBean.java:510) (UIBean.java:856) on org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag (ComponentTagSupport.java:42) Org.apache.jsp.Select_jsp._jspService at org.apache.jsp.Select_jsp._jspx_meth_s_005fselect_005f0 (select_jsp.java:166) at org.apache.jsp.Select_jsp._jspx_meth_s_005fform_005f0 (select_jsp.java:113) (selection_jsp.java: 71) At org.apache.jasper.servlet.JspServletWrapper.service javax.servlet.http.HttpServlet.service (HttpServlet.java:717) at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:70) org.apache.jasper letWrapper.java:386) to (JspServ. servlet.JspServlet.serviceJspFile (JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service (.HttpServlet.service (HttpServlet.java:717) org on JspServlet.java:260) on javax.servlet.http on org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) on .apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) on org.apache.struts2.dispatcher.FilterDispatcher.doFilter ( FilterDispatcher.java:389) on org.apache.catalina.core.ApplicationFilterChain.internalDoFilter on org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:235) (ApplicationFilterChain.java:206) org.apache.catalina. Core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) org.apache.cata On lina.core.StandardContextValve.invoke (StandardContextValve.java:191) on Org.apache.catalina.valves.orrorReport on org.apache.catalina. On Korkmankhostvlvinvok (Mankhostvalvkjawa 12) Valve.invoke org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) (ErrorReportValve.java:102) on org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java telugu98) .apache.coyote.http11.Http11Processor.process (Http11Processor.java:859) on org.apache.coyote.http11.Http11Protocol $ Http11ConnectionHandler.process (Http11Protocol.java: 8888) at org.apache $ Worker.run (JIoEndpoint.java:489) (unknown source java.lang.Thread.run on .tomcat.util.net.JIoEndpoint)    

  requested list key 'search engine' to store / array / map / enumeration / iter type type Can not be solved. . Example: People or people {name} - in the [unknown place]   

The problem lies here, there is a searchengine list on the request there

How are you " "Execution of Examples?

Comments