• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTTP status 404

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am working on struts. I have copied struts2-blank-2.0.14 into webapps folder. Now I have copied struts2-blank-2.0.14 and renamed it as "myfolder".

When i try to invoke index.jsp file with in "myfolder" from the browser, i am getting following error.

rest of the things like Servlet examples. jsp examples all are working except "myfolder" contents. why is that?


Can anyone please help me?
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the URL that you are typing in the browser address bar?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It could be that initialization failed, causing Tomcat to mark the app as unavailable. In that case the log files should give more details.

Bill
 
Aditi Gandy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for both of you for your reply.

I have stored Myfolder i.e "struts2firstone" and jsp file. in the following path:


Url to open input.jsp is:
But that time i am getting error as shown in my first post.

log error display as follows:


in localhost.2008-12-31


in manager.2008-12-31


please help :roll:
[AG: page layout corrected]
[ January 01, 2009: Message edited by: Amit Ghorpade ]
 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is what the error is about:
 
Aditi Gandy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now, i have removed <include> tag, but still I am getting same error.

what to do ?? Can't understand what is the problem.
my log entries as follows:
 
Amit Ghorpade
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh there is no Action mapping


SEVERE: Could not find action or result
There is no Action mapped for action name HelloWorld. - [unknown location]


And now this is a Struts problem, so lets go to that forum.
 
Aditi Gandy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anyone Please help me. I am not able to proceed further.

Regards,
Ashvini
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Amit Ghorpade wrote:Oh there is no Action mapping


SEVERE: Could not find action or result
There is no Action mapped for action name HelloWorld. - [unknown location]


And now this is a Struts problem, so lets go to that forum.



As Amit said , its mapping problem.

Open your struts.xml file and see whether the mapping for action /HelloWorld is correct or not .



 
Aditi Gandy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is that nesessary to work on Helloworld ?

I don't need Helloworld example.
I have removed all .jsp, .java, .class files relating to HelloWorld. Even in Struts.xml, i have removed all the references to HelloWold.

What i did is: copied struts2-blank-2.0.14 folder and renamed it as struts2firstone.

But still why is it showing this error?
Please help.
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Please post the struts.xml file with the first index page of your application.
reply
    Bookmark Topic Watch Topic
  • New Topic