Could you make you welcome page different than login.jsp and have it forward
to login.jsp? If login is your front door, maybe all of your welcome pages
could forward to it.

----- Original Message -----
From: "Joey Watson" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, February 20, 2006 12:14 PM
Subject: Problem about first page.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to