Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
2012/11/6 Srineel Mazumdar smaz19...@gmail.com filter filter-namestruts/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter The problem is here, you're using deprecated version of the filter

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi, I am using Struts 2.0.6.Getting the following error. [image: Inline image 1] On Tue, Nov 6, 2012 at 7:14 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com filter filter-namestruts/filter-name

Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
2012/11/6 Srineel Mazumdar smaz19...@gmail.com I am using Struts 2.0.6.Getting the following error. Why ? And image was removed Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi Actually I have a requirement for a maintenance project which was done in 2.0.6. So to be conversant with 2.0.6, I am using the jars. Regards, Srineel On Tue, Nov 6, 2012 at 7:54 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com I am using

Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
Did you try to ask Uncle Google ? http://stackoverflow.com/questions/11803837/deploying-struts-2-and-jersey-in-glassfish http://www.java.net/node/669714 Could you set logging to DEBUG and turn on devMode ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Yes. I am continuously searching the answer in google. I will turn on the devMode and share the stacktrace. Regards, Srineel On Tue, Nov 6, 2012 at 8:29 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: Did you try to ask Uncle Google ?

Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
2012/11/6 Srineel Mazumdar smaz19...@gmail.com Hi, Stacktraces *There is no Action mapped for namespace /shop and action name index. - What url do you call ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi, http://localhost:8081/NewPetstore/shop/index.action http://localhost:8081/NewPetstore/shop/addItemToCart.action Also I noticed that struts.xml is missing in classes folder. Do you think thats the issue ? Regards, Srineel On Tue, Nov 6, 2012 at 9:03 PM, Lukasz Lenart

Re: Issue with running Struts2 project

2012-11-06 Thread Lukasz Lenart
2012/11/6 Srineel Mazumdar smaz19...@gmail.com Hi, http://localhost:8081/NewPetstore/shop/index.action http://localhost:8081/NewPetstore/shop/addItemToCart.action Also I noticed that struts.xml is missing in classes folder. Do you think thats the issue ? For sure ;-) What IDE do you use

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Spring Tool Suite. Right click - Run On Server. Let me recheck all configurations and revert back to you. Thanks, Srineel On Tue, Nov 6, 2012 at 9:10 PM, Lukasz Lenart lukaszlen...@apache.orgwrote: 2012/11/6 Srineel Mazumdar smaz19...@gmail.com Hi,

Re: Issue with running Struts2 project

2012-11-06 Thread Srineel Mazumdar
Hi, I could make some progress after keeping the struts.xml manually in classes folder but the issue is again coming for other action. Currently working on it . Thanks a ton for your help !! This is the screen I am getting on hitting index.do [image: Inline image 1] On Tue, Nov 6, 2012 at

Re: Issue with running Struts2 project

2012-11-05 Thread Srineel Mazumdar
Hi Lukasz, Thanks for your reply. I made the following changes based on your suggestion : 1) scope = prototype : Added this in applicationContext.xml to avoid making the action classes as singleton 2) Corrected the package names of the action classes in struts.xml 3) Rechecked struts.xml. It

Re: Issue with running Struts2 project

2012-11-05 Thread Srineel Mazumdar
Hi, Also I would like to add : The url now I am using is http://localhost:8081/NewPetstore/shop/index.action. Now the error is coming as : *There is no Action mapped for namespace /shop and action name index* * * *In struts.xml : * * * package name=newpetstore extends=struts-default

Re: Issue with running Struts2 project

2012-11-05 Thread Lukasz Lenart
2012/11/5 Srineel Mazumdar smaz19...@gmail.com Hi, Also I would like to add : The url now I am using is http://localhost:8081/NewPetstore/shop/index.action. Now the error is coming as : *There is no Action mapped for namespace /shop and action name index* * * *In struts.xml : * * *

Re: Issue with running Struts2 project

2012-11-04 Thread Lukasz Lenart
2012/11/5 Srineel Mazumdar smaz19...@gmail.com: Hi, I am new to Struts2 and for learning I am doing my own project. I am facing the following issue and need help in fixing: http://localhost:8081/NewPetstore : This URL is opening the index page. However