jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Action not found error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action not found error" Watch "Action not found error" New topic

Action not found error

RaviSingh Kumar
Ranch Hand

Joined: Sep 04, 2007
Posts: 52
I have configured tomcat in eclipse using sysdeo plugin. After made a small test application in struts. I start the tomcat service by clicking the icon in eclipse. Open a browser in eclipse and try to access the appilcation through the URL "http://localhost:8080/myapplication/login.jsp".
It runs successfully and login page is displayed. But when i enter information and click on submit button getting an error as "action not found".

Please providde any comment on this. Thanks in advance.
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

What information are you entering? The username and password to login as an admin user?

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

May be you can post your struts-config.xml file with the login.jsp !

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Ananth Chellathurai
Ranch Hand

Joined: Nov 21, 2007
Posts: 349

Stracktrace of your error will help us to help you. Please give more details to get more responses.

Ananth Chellathurai

Ananth Chellathurai [Walk on software]
vaibhav maddiwar

Joined: Jun 13, 2008
Posts: 21
Seems like you haven't set path of your action class correctly in struts-config.xml.

I agree. Here's the link: http://aspose.com/file-tools
subject: Action not found error
It's not a secret anymore!