|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Handles forms submitted to the LAS servlet. Only forms that are submitted via a HTTP POST will be handled. A servlet filter automatically routes the POST request to a class that implements this interface.
The class that implements this interface has to be named <template>FromBean where <template> is the name of the Velocity template containing HTML that describes the form
FormFilter| Method Summary | |
java.lang.String |
getErrorMessage()
Error message to display if form is not valid. |
FormParameters |
getParameters()
Form parameters contained in the HTTP post |
void |
handle()
Handle the form. |
void |
init(HttpServletRequest req)
Initializes the FormBean |
boolean |
isValid(java.lang.String nextUrl)
Validate form parameters |
java.lang.String |
nextURL()
next URL to use after the form has been processed |
| Method Detail |
public void init(HttpServletRequest req)
throws ServletException,
java.sql.SQLException
req - the servlet requrest
ServletException
java.sql.SQLException
public boolean isValid(java.lang.String nextUrl)
throws ServletException,
java.sql.SQLException
nextUrl - nextUrl to visit after form has been processed
ServletException
java.sql.SQLException
public java.lang.String getErrorMessage()
throws ServletException,
java.sql.SQLException
ServletException
java.sql.SQLException
public void handle()
throws ServletException,
java.sql.SQLException
ServletException
java.sql.SQLException
public java.lang.String nextURL()
throws ServletException,
java.sql.SQLException
ServletException
java.sql.SQLExceptionpublic FormParameters getParameters()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||