LoginForm

A form that collects user data needed when logging in a user

The properties describes below are all settable from the html form in the jsp page.

The form contains information about the userName and password of the user.

Struts config
<form-bean
  name="com.escenic.profile.presentation.struts.LoginForm"
  type="com.escenic.profile.presentation.struts.LoginForm"/>
Action Error

This form requires that userName and password is set. If one is missing, the user should be notified.

no_userName

(On the userName property.) The userName was not specified

no_password

(On the password property.) The password was not specified

LoginForm inherits properties from:

  • com.escenic.profile.presentation.struts.AbstractForm

It also has the following properties of its own:

userName
String

the username of the user

password
String

the users password