This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes New to Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "New to Struts" Watch "New to Struts" New topic
Author

New to Struts

Durahman Hamdan
Greenhorn

Joined: Feb 18, 2008
Posts: 3
I tried to search the net for solution to my problem.

I tried the tutorial and follow the steps shown by the tutor. For example I downloaded struts and deploy the struts blank.war file. When I do the testing as the tutorial said i.e using the browser and key in the url http://localhost:8080/struts2-blank-2.0.6/ I got this error:

HTTP Status 404 - /struts2-blank-2.0.6/

type Status report

message /struts2-blank-2.0.6/

description The requested resource (/struts2-blank-2.0.6/) is not available.
Apache Tomcat/5.5.25

Did I miss doing something? I just follow the tutorial.

Thank
Gayathri Chowduru
Ranch Hand

Joined: Oct 17, 2007
Posts: 42
Hi,

Check out the below link for struts. This is self-explanatory.

http://courses.coreservlets.com/Course-Materials/struts.html

Go thru each and every line and example, you can learn yourself. :-)

Thanks & Regards,
Gayathri Chowduru.
Siddharth Bhargava
Ranch Hand

Joined: Feb 23, 2007
Posts: 257
Hi,
Please check your Application Server console. You might be getting some exception. That's why its saying that requested resource is not available. Correct the exception and then deploy and try again.
Durahman Hamdan
Greenhorn

Joined: Feb 18, 2008
Posts: 3
I forgot to mention that the problem happen on my RedHat linux machine.

When I tested the blank application on my Windows XP it works as expected from the tutorial.

Thank you
 
Don't get me started about those stupid light bulbs.
 
subject: New to Struts
 
Similar Threads
Struts2 namespace url problem
Struts2: No configuration found for the specified action
web.xml problem in struts2
Getting HTTP Status - 500
URL rewrite Struts2