Hi everybody. I want to write a login module. login.jsp -----display userId , userName, password, company infomation (a drop down box) LoginAction.java ----check login information LoginForm.java -- some command class. ----one of them will load company information from db.
When user open web site. the login page will be displayed. user need to fill name, id, password and select a company from a drop down box. So I need to load company list from before login page displayed. I want to do this in Action class (it will call a command class). but my problem is login.jsp is defined as <welcome-file-list> in web.xml . So before it is been created . onliy ActionForm would be create, the Action Class doesn't be created. and I don't want to do the load comany actions in ActionForm. So my question is how could I can make Action class to be create and do load actions before the login.jsp be displayed. Thanks.. Joey --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]