This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes welcome-file in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "welcome-file in web.xml" Watch "welcome-file in web.xml" New topic
Author

welcome-file in web.xml

Shobhit Khandelwal
Greenhorn

Joined: Feb 19, 2009
Posts: 24
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

Joined: Aug 03, 2008
Posts: 9291
    
  17

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??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: welcome-file in web.xml
 
Similar Threads
welcome file in web.xml
welcome file list in web.xml
Calling .do directly
Can we have multiple welcome-file-lists
Getting a value from web.xml in run time