Type :Status Report Message: The requested resource [/Struts2Example/] is not available Description :The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. i get this error how to solve
Hi, can you explain at which point in application you are getting this error?What is the URL at that time? You will get 404 error when the server could not find requested resource. E.g When you run your project,server need to find page that will be the first page(welcome page) in your application and you must mention that page name in web.xml file under tag. if login.html is your first page(welcome file),then add these lines in web.xml file login.html If you don't mention login.html in web.xml file,then you will get 404 error because by default server looks for the welcome file, I hope this will help you to get rid of this error.
Well explained... Thanks a lot
Type :Status Report
Message: The requested resource [/Struts2Example/] is not available
Description :The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
i get this error how to solve
How to store and retrive document file using jsp struts2 mysql
Well explained sir , please make a vid lecture for developing a web project
Hi,
I am getting 404 error. Any help will be welcomed.
Hi, can you explain at which point in application you are getting this error?What is the URL at that time?
You will get 404 error when the server could not find requested resource.
E.g When you run your project,server need to find page that will be the first page(welcome page) in your application and you must mention that page name in web.xml file under tag.
if login.html is your first page(welcome file),then add these lines in web.xml file
login.html
If you don't mention login.html in web.xml file,then you will get 404 error because by default server looks for the welcome file, I hope this will help you to get rid of this error.
Same problem upon running it on Server this is the error in my case -
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatcher
Check ur File Name struts.xml name should be proper
And also Check Struts2-core jar org.apache.struts2.dispatcher.FilterDispatcher is present or not if not then Download Struts jar again
@@ziyadbeg1821how to check the filter dispatcher is there or not
sir can u create a program to generate otp struts with db
source code please
Sir U r Best
Thanks...Subscribe the channel
404 error