File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 248
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New to Struts
 
Similar Threads
Struts2 namespace url problem
URL rewrite Struts2
Struts2: No configuration found for the specified action
Getting HTTP Status - 500
web.xml problem in struts2