Need to understand Struts Framework
Greetings everyone,
I am trying to understand how the entire Struts Framework works.
If I am running tomcat, is copying and pasting the WAR file into webapps directory the only way to install struts?
Since I am new to struts and was trying to understand how it works from ground up, I tried creating the neccessary files needed and copied the struts.jar into my web app's WEB-INF\lib folder.
Unfortunately, I kept on hitting errors.
Here is my app directory structure
1) MyApp/
- index.jsp
- displayname.jsp
2) WEB-INF/
- struts-config.xml
- struts-html.tld
- web.xml
3) WEB-INF/classes/example/
- NameAction.class
- NameForm.class
4) WEB-INF/lib/
- servlet-api.jar
- struts.jar
I am getting this error:
HTTP Status 404 - /StrutsActionForm/index.jsp
--
type Status report
message /StrutsActionForm/index.jsp
description The requested resource (/StrutsActionForm/index.jsp) is not available.
--
Apache Tomcat/5.5.20
I know it sounds silly but that's the only way I can truly understand the entire struts framework.
Your reply will be much appreciated.

