Hi ,
I worked on Struts 1.1 version 2 years back. I am familiar in working with an already existing project but am not sure on how to create one new Struts project and get it running.
I need some guidance from you experts here please. I am trying to work on a sample application that logins and redirects to Welcome.jsp page or Sorry.jsp .
Here are the steps that i followed for creating the project.
1) I am using Eclipse IDE (galileo version), Tomcat 6.0, Struts 2.0.14 versions. I downloaded them .
2) Created a Dynamic Web Project.
3) I have created Login.jsp , Welcome.jsp, Sorry.jsp in WebContent folder.
4)LoginAction.java, LoginForm.java and ValidateUser.java in src folder.
5)Created struts-config.xml in WEB-INF and updated entries correctly as shown in the snapshot.
6)updated web.xml.
7)Added the required jars into the classpath.
These are the steps that i have followed and i think i am correct till here.
Now how should i run this application ?
do we need to do some ant build and create a war file ? and then copy it to tomcat webapps directory ??
Or any other way to run it ??
I am not sure on how to run it from here on..CAn some one please point me to steps...
It would be of great help for me. Though i am familiar with most of the framework functionality, i am not able to run the application yet. It is blocking my progress.