-
Website
http://veerasundar.com/blog -
Original page
http://veerasundar.com/blog/2008/11/06/create-struts-2-hello-world-application/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
mfarney
2 comments · 3 points
-
Thejesh GN
7 comments · 3 points
-
computer repair lexington
1 comment · 1 points
-
wholesale jewelry
1 comment · 2 points
-
mariefrance
1 comment · 1 points
-
-
Popular Threads
-
Hosting Java applications in the web
5 days ago · 11 comments
-
What does it take to make a ‘good’ developer resume?
1 week ago · 7 comments
-
Notepad or IDE – What’s your preference?
3 weeks ago · 6 comments
-
Developing a Firefox Extension – the complete tutorial!
2 weeks ago · 4 comments
-
Hosting Java applications in the web
Open the Manager console in Apache Tomcat server and see the status of the struts application. If it is false, then the web application is not deployed correctly and some problem with the application WAR itself. If it is the error with any Java files, then the IDE would have shown at the compilation time itself, but if there is any error with web.xml or struts.xml, then IDE won't show any errors, but application won't be deployed in Tomcat. Please check if there is any syntax error with xml files.
was very useful.............. :)
Thanks Neena!
Eclipse, tomcat 5.0, jre 1.5
I deployed this sample application WAR file into tomcat.
I have tried to launch this by typing its url as
http://localhost:8080/HelloWorld
but it was showing Error as below -
type Status report
message /HelloWorld/WEB-INF/web.xml
description The requested resource (/HelloWorld/WEB-INF/web.xml) is not available.
The error you got is possibly because of (as the error message says) the web.xml may not be present in the WAR file that you had deployed. Can you please check your WAR file to see whether the web.xml present inside the WEB-INF folder?
i tried this example 3 - 4 time from scratch.
but each time i get same error.
Actually i put struts.xml file into WEB-INF folder.
but i seen in some example it is with scr files.
after that i tried this also but i get an error :-
resource is not available.
wht should i do.
i think some libraries are required in tomcat to read and convert these xml files.
Thanks for your feedback. :)
im trying to run the above program, but it is not working properly. can any one solve my problem
can you give us more details on the error that your are getting?