DeleteProfileAction

Deletes a named profile from current user

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

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

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

input page

If the profile couldn't be deleted.

success

If the profile was successfully deleted

not-logged-in

If user is not logged in

Action Error

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

couldNotFindProfile

(On the global property.) If the profile to delete could not be found

couldNotDeleteProfile

(On the global property.) If the profile couldn't be deleted