hi, i am a newbie in struts. so i just started reading "struts for dummies" ebook to learn struts. here is my doubt . as given in that book i created a sample login application using struts 1.x. and here are my files in that sample application.
here LoginBean file contains few usernames and passwords combinations. so when i run my application it shows me login page with username and password fields to enter. when i enter them it reacts accordingly. here is my doubt ; i never given any path of LoginBean file(which contains passwords and usernames, mean only these to be enter) in any config files(web.xml, config.xml). how come my application knows and compares and communicates with the usernames and passwords in LoginBean file which i enter in login page and authenticate it.