I am developing simple struts-database access using struts-config.xml file with MySql database. I have written code as
Also I have properly written web.xml file. I also have cerated table in mydb database in my system. But when I try to run this it displaying first page that is index.jsp but when I click begin button it is giving following error:
HTTP Status 404 - Servlet action is not available
ype Status report
message Servlet action is not available
description The requested resource (Servlet action is not available) is not available.
I am not able to find where I am commiting mistake. Can anyone please help me.
They most likely list startup errors related to your application.
The error you get is that "something" is not available. This is probably because your application did not initialize (startup) properly.
You will find these application initialization errors in your Tomcat log. They will show the real underlying error.