Method Detail

get

public java.lang.String get(java.lang.String key)

Gets the concrete value only if the submission was a success. If the form is invalid because of
validation errors or you try to access a file field this method will return null. If you want
to retrieve the value even when the form is invalid use value(String) instead. If you
want to retrieve a file field use file(String) instead.

Parameters:

key - the string key.

Returns:

the value, or null if there is no match.

file

Gets the concrete value only if the submission was a success. If the form is invalid because of
validation errors or you try to access a non-file field this method will return null. If you
want to retrieve the value even when the form is invalid use value(String) instead. If
you want to retrieve a non-file field use get(String) instead.