DeleteUserAction

Deletes the current user. The user will also be logged out of escenic as the user no longer has an available account.

Struts config
<action path="/deleteUser"
  type="com.escenic.profile.presentation.struts.DeleteUserAction"
  name=""
  input="/deleteUser-input.jsp"
  validate="true">

  <forward name="success"
           path="/deleteUser-success.jsp"/>

  <forward name="not-logged-in"
           path="/deleteUser-not-logged-in.jsp"/>
</action>
Action Forwards

input page

If the user couldn't be deleted.

success

If the user was successfully deleted

not-logged-in

If user is not logged in

Action Error

If deleting the user fails, an error will be logged, and the action will be forwarded to the input-page.

could_not_delete_user

(On the global property.) If deleting user failes