Srikanth Ramineni

Greenhorn
+ Follow
since Mar 18, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Srikanth Ramineni

Can some one point me good tutorial for Struts 2.0 that will guide me from scratch to end development. Anything that you found is the best/appropriate one.
14 years ago
/////Add your Web project to the server and publish the content.

How do we add the Web project to the server? I already have tomcat added into my eclipse. I did try running the application directly by providing the url. But it is showing Error :404
14 years ago
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.



14 years ago