Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

welcome-file in web.xml

 
Shobhit Khandelwal
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
There is a need to check the credential of user from database i.e. if currently logged on user is in Permitted_Users table then allow to further enter in my application.I have created LoginAction class containing databse connection and authentication logic and want to execute this logic first and hence I have added login.do in web.xml

but it is giving HTTP Status 404 error. Please share if you have any solution for my problem. I am using Struts 1.0

 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The information you've provided is not enough to help you out. There might be a deployment error in the application, check the server logs to see if deployment of your application failed. Did you configure struts in your web.xml??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic