Hi there,
I am new to strut/web programming and I thought I could learn alot by reading a sample app.
On google, I searched and found a sample app at
http://www.roseindia.net/struts/struts2/struts2tutorial.zip The tutorial is really nice and it gives a sample login page.
However, I couldn't run this sample app. I tried posting on the roseindia.net site and got no help either.
There is no error logged during the start of the server,
but when I try and open one of the helloworld's link the following is outputted
I am getting this error
SEVERE: Could not find action or result There is no Action mapped for action name HelloWorld. - [unknown location]
The folder structure of this thing on my eclipse is
/WebContent/WEB-INF/java/net/roseindia/Struts2HelloWorld.java
/WebContent/pages/HelloWorld.jsp
/WebContent/WEB-INF/struts.xml
while in strut.xml the sample had..
<action name="HelloWorld" class="net.roseindia.Struts2HelloWorld">
<result>/pages/HelloWorld.jsp</result>
</action>
I am suspecting something in the strut.xml is wrong?
I am using eclipse J2EE and tomcat6
I have already tried posting on roseindia's site and got no help.