Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.
The following page has been changed by MichaelJouravlev: http://wiki.apache.org/struts/StrutsManualActionWebComponent ------------------------------------------------------------------------------ Consider the following use case: a website has a home page that should have different content for regular visitors one one hand, and for logged in users for another hand. The page contains login/logout form, a user must be presented with login form if he is not logged in yet. Those users who logged in must be able to see information about themselves and must be able to log out. While implementing this use case the login/logout widget must reload the whole page if login attempt fails. Also, login/logout widget must have explicit knowledge about the target location, in our case it has to know the address of the home page. Therefore, it is nearly impossible to develop an independent login/logout widget that can be inserted into different pages and just work. Well, it is possible now. - - inline:login-component.gif == Component Configuration ==