You should know that preferred way is to use Container Managed Autethincation, as per servelt 2.2 spec.
.V

Mohan Radhakrishnan wrote:
Hi,
   Does html:link need an action class?

<html:link page="/logoff.action"></html:link>

I want to show the login page again when the user logs off. I am thinking
that it is not possible without associating an action.

<!-- Process a user logoff -->
    <action    path="/logoff"
               type="com.hcl.smartmanage.web.LogoutAction"
               name="noDataForm"
               scope="request">
   </action>

 If I use a normal html href( no tags, just html ) instead of html:link then
the context doesn't get prefixed  to the action.

  html:link --> http://localhost/SmartManage/logoff.action
  href      --> http://localhost/logoff.action

What is the best way to re-route to the login page when the user logs off?

Thanks,
Mohan



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to