Re: Strusts Error - no Action mapped for action name HelloWorld
Hello All, I was able to bring the strusts's blank demo up and running :) , but my previous app is also holding the same piece of architecture, i went thourhg and checked twice, the structure/features and syntax are totally identical and am not able to find out where the actual fault is.. Anyway I have done what I need in a alternative way... Thanks a lot Pawel for the tips.. Cheers Dear Paweł, Thanks a lot for the kind reply, i got in with the browser plugin feature and it shows nothing with the "Actions in default namespace ", so i guess there should be some basic mismatch in my app though it seems ok and nice.. btw i found a better post about browser plugin here, http://devtalks.blogspot.com/2009/10/struts2-config-browser-plugin.html http://devtalks.blogspot.com/2009/10/struts2-config-browser-plugin.html Well, now i am on with ur second suggestion, modifying the blank demo and try to make up and running.. let me come back with any good news.. Thanks a lot for advice. Dham Paweł Wielgus wrote: > > Hi Dham, > use config browser plugin to verify your configuration: > http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html > > Also try to first run blank or demo app from struts_apps.zip and then > modify it to suit your needs. > > Best greetings, > Paweł Wielgus. > > 2009/12/22 dhammikas : >> >> Dear All, >> I am very new to strusts 2.1 and just struggling with up and running the >> hello world app. Following is the error that i am getting >> >> >> WARNING: Could not find action or result >> There is no Action mapped for action name HelloWorld. - [unknown >> location] >> at >> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) >> at >> org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) >> at >> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) >> at >> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47) >> at >> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478) >> at >> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) >> at >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) >> at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) >> at java.lang.Thread.run(Unknown Source) >> >> >> Following is the mapping at web.xml >> >> >> hw >> >> >> >> struts2 >> >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter >> >> actionPackages >> sample >> >> >> >> >> >> struts2 >> /* >> >> >> >> >> Following is the strusts.xml mapping >> >> >> >> >> >> >> >> /pages/helloWorld.jsp >> >> >> >> >> >> >> Following is the sample.HelloWorld.java >> >> package sample; >> >> import com.opensymphony.xwork2.ActionSupport; >> >> public class HelloWorld extends ActionSupport{ >> >> private String message; >> >> public String getMessage() { >> return message; >> } >> >> public void setMessage(String message) { >> this.message = message; >> } >> >> public String execute() throws Exception { >> setMessage("Hello World!"); >> return SUCCESS; >> } >> >> >> } >> >> >> >> Following is the /pages/helloWorld.jsp >> >> <%@ taglib prefix="s" uri="/st
Re: Strusts Error - no Action mapped for action name HelloWorld
Please return later to see if your message was accepted by the mailing list. If there is a problem, Nabble will alert you by email and provide additional instructions. Dear Paweł, Thanks a lot for the kind reply, i got in with the browser plugin feature and it shows nothing with the "Actions in default namespace ", so i guess there should be some basic mismatch in my app though it seems ok and nice.. btw i found a better post about browser plugin here, http://devtalks.blogspot.com/2009/10/struts2-config-browser-plugin.html http://devtalks.blogspot.com/2009/10/struts2-config-browser-plugin.html Well, now i am on with ur second suggestion, modifying the blank demo and try to make up and running.. let me come back with any good news.. Thanks a lot for advice. Dham Paweł Wielgus wrote: > > Hi Dham, > use config browser plugin to verify your configuration: > http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html > > Also try to first run blank or demo app from struts_apps.zip and then > modify it to suit your needs. > > Best greetings, > Paweł Wielgus. > > 2009/12/22 dhammikas : >> >> Dear All, >> I am very new to strusts 2.1 and just struggling with up and running the >> hello world app. Following is the error that i am getting >> >> >> WARNING: Could not find action or result >> There is no Action mapped for action name HelloWorld. - [unknown >> location] >> at >> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) >> at >> org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) >> at >> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) >> at >> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47) >> at >> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478) >> at >> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) >> at >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) >> at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) >> at java.lang.Thread.run(Unknown Source) >> >> >> Following is the mapping at web.xml >> >> >> hw >> >> >> >> struts2 >> >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter >> >> actionPackages >> sample >> >> >> >> >> >> struts2 >> /* >> >> >> >> >> Following is the strusts.xml mapping >> >> >> >> >> >> >> >> /pages/helloWorld.jsp >> >> >> >> >> >> >> Following is the sample.HelloWorld.java >> >> package sample; >> >> import com.opensymphony.xwork2.ActionSupport; >> >> public class HelloWorld extends ActionSupport{ >> >> private String message; >> >> public String getMessage() { >> return message; >> } >> >> public void setMessage(String message) { >> this.message = message; >> } >> >> public String execute() throws Exception { >> setMessage("Hello World!"); >> return SUCCESS; >> } >> >> >> } >> >> >> >> Following is the /pages/helloWorld.jsp >> >> <%@ taglib prefix="s" uri="/struts-tags" %> >> >> >> >> >> Hello World >> >> >> >> To your information this is your helloWorld.jsp page >> under >> WebContent directiory. >> >> >> >> >> >> >> >> ---
Re: Strusts Error - no Action mapped for action name HelloWorld
Dear Paweł, Thanks a lot for the kind reply, i got in with the browser plugin feature and it shows nothing with the "Actions in default namespace ", so i guess there should be some basic mismatch in my app though it seems ok and nice.. btw i found a better post about browser plugin here, http://devtalks.blogspot.com/2009/10/struts2-config-browser-plugin.html http://devtalks.blogspot.com/2009/10/struts2-config-browser-plugin.html Well, now i am on with ur second suggestion, modifying the blank demo and try to make up and running.. let me come back with any good news.. Thanks a lot for advice. Dham Paweł Wielgus wrote: > > Hi Dham, > use config browser plugin to verify your configuration: > http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html > > Also try to first run blank or demo app from struts_apps.zip and then > modify it to suit your needs. > > Best greetings, > Paweł Wielgus. > > 2009/12/22 dhammikas : >> >> Dear All, >> I am very new to strusts 2.1 and just struggling with up and running the >> hello world app. Following is the error that i am getting >> >> >> WARNING: Could not find action or result >> There is no Action mapped for action name HelloWorld. - [unknown >> location] >> at >> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) >> at >> org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) >> at >> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) >> at >> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47) >> at >> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478) >> at >> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) >> at >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) >> at >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) >> at java.lang.Thread.run(Unknown Source) >> >> >> Following is the mapping at web.xml >> >> >> hw >> >> >> >> struts2 >> >> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter >> >> actionPackages >> sample >> >> >> >> >> >> struts2 >> /* >> >> >> >> >> Following is the strusts.xml mapping >> >> >> >> >> >> >> >> /pages/helloWorld.jsp >> >> >> >> >> >> >> Following is the sample.HelloWorld.java >> >> package sample; >> >> import com.opensymphony.xwork2.ActionSupport; >> >> public class HelloWorld extends ActionSupport{ >> >> private String message; >> >> public String getMessage() { >> return message; >> } >> >> public void setMessage(String message) { >> this.message = message; >> } >> >> public String execute() throws Exception { >> setMessage("Hello World!"); >> return SUCCESS; >> } >> >> >> } >> >> >> >> Following is the /pages/helloWorld.jsp >> >> <%@ taglib prefix="s" uri="/struts-tags" %> >> >> >> >> >> Hello World >> >> >> >> To your information this is your helloWorld.jsp page >> under >> WebContent directiory. >> >> >> >> >> >> >> >> >> Following is the url being used to access the helloWorld.jsp >> >> http://localhost:8080/hw/sample/HelloWorld.action >> http:/
Re: Strusts Error - no Action mapped for action name HelloWorld
Hi Dham, use config browser plugin to verify your configuration: http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Also try to first run blank or demo app from struts_apps.zip and then modify it to suit your needs. Best greetings, Paweł Wielgus. 2009/12/22 dhammikas : > > Dear All, > I am very new to strusts 2.1 and just struggling with up and running the > hello world app. Following is the error that i am getting > > > WARNING: Could not find action or result > There is no Action mapped for action name HelloWorld. - [unknown location] > at > com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178) > at > org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) > at > org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) > at > com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47) > at > org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:478) > at > org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) > at > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > at java.lang.Thread.run(Unknown Source) > > > Following is the mapping at web.xml > > > hw > > > > struts2 > > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > actionPackages > sample > > > > > > struts2 > /* > > > > > Following is the strusts.xml mapping > > > > > > > > /pages/helloWorld.jsp > > > > > > > Following is the sample.HelloWorld.java > > package sample; > > import com.opensymphony.xwork2.ActionSupport; > > public class HelloWorld extends ActionSupport{ > > private String message; > > public String getMessage() { > return message; > } > > public void setMessage(String message) { > this.message = message; > } > > public String execute() throws Exception { > setMessage("Hello World!"); > return SUCCESS; > } > > > } > > > > Following is the /pages/helloWorld.jsp > > <%@ taglib prefix="s" uri="/struts-tags" %> > > > > > Hello World > > > > To your information this is your helloWorld.jsp page under > WebContent directiory. > > > > > > > > > Following is the url being used to access the helloWorld.jsp > > http://localhost:8080/hw/sample/HelloWorld.action > http://localhost:8080/hw/sample/HelloWorld.action > > > > > > ANYBODY, PLEASE BE KIND ENOUGH TO HELP ME TO GET RID OF THIS TERRIBLE DAMN > ERROR. > > Thanking and please let me know any concerns/thoughts. > Dham > > -- > View this message in context: > http://old.nabble.com/Strusts-Errorno-Action-mapped-for-action-name-HelloWorld-tp26884710p26884710.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: use