
Hi,
I downloaded this Shopping cart zip folder from http://www.roseindia.net/struts/struts/struts2.2.1/shoppingcart/index.html but there's no installation manual inside of how to get the app up and running. Urgent help please and thanks a lot !

Hi,
Thanks for your reply. As I run the file it give me this error
HTTP Status 404 -
type Status report
message
description The requested resource is not available.
Apache Tomcat/6.0.36
I checked the console it got the following error message. I'm a newbie in this area and any help will be greatly appreciated. Thanks a lot !
18-Feb-2013 12:06:55 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Entry\Java\jdk1.6.027\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\;C:\Program Files (x86)\Toshiba\Bluetooth Toshiba Stack\sys\x64\;C:\Program Files\Internet Explorer;C:\Entry\Programs Files\MySQL\bin;C:\Program Files\MySQL\MySQL Server 5.5\bin;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\;C:\Entry\Java\jdk1.6.027bin;C:\ant\apache-ant-1.8.4\bin;C:\jdk\bin;,;;.
18-Feb-2013 12:06:55 org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ScartApplication' did not find a matching property.
18-Feb-2013 12:06:55 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
18-Feb-2013 12:06:55 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 851 ms
18-Feb-2013 12:06:55 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
18-Feb-2013 12:06:55 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.36
18-Feb-2013 12:06:57 org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Users\Khin\Helio Workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ScartApplication\WEB-INF\lib\servlet-api-2.5-6.1.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
18-Feb-2013 12:07:00 org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter struts2
java.lang.NullPointerException
at com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)
at com.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168)
at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)
at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)
at org.apache.struts2.dispatcher.ng.InitOperations.initStaticContentLoader(InitOperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:49)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.

hi friend,
Run application using Eclipse IDE. Download the Source Code as WAR file from the link
http://www.roseindia.net/struts/struts/struts2.2.1/shoppingcart/index.html
after downloading the war file rename it to ScartApplication.war and import this file into the Eclipse IDE and add a server into Eclipse then run this application.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.