|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshared.HelperBaseCh4
shared.HelperBaseCh5
shared.HelperBaseCh6
ch7.accountLogin.ControllerHelper
ch7.accountRemove.ControllerHelper
public class ControllerHelper
The same as the Account Login application, with the addtion of a button that allows the user to delete a row from the database.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class shared.HelperBaseCh4 |
---|
HelperBaseCh4.SessionData |
Field Summary |
---|
Fields inherited from class ch7.accountLogin.ControllerHelper |
---|
data |
Fields inherited from class shared.HelperBaseCh6 |
---|
checked, selected |
Fields inherited from class shared.HelperBaseCh4 |
---|
logger, request, response |
Constructor Summary | |
---|---|
ControllerHelper(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The only constructor for this class has parameters for the request and response objects. |
Method Summary | |
---|---|
java.lang.String |
jspLocation(java.lang.String page)
Generates the full path to a JSP. |
java.lang.String |
removeMethod()
The method that preforms the actions associated with the remove button. |
Methods inherited from class ch7.accountLogin.ControllerHelper |
---|
confirmMethod, copyFromSession, doGet, doPost, editMethod, getData, getMethod, initHibernate, loginMethod, newUserMethod, processMethod |
Methods inherited from class shared.HelperBaseCh6 |
---|
addChecked, addChoice, addSelected, clearMaps, clearProperty, getChecked, getSelected, invokeGetter, setCheckedAndSelected, setCheckedAndSelected |
Methods inherited from class shared.HelperBaseCh5 |
---|
getErrors, isValid, isValidProperty, setErrors |
Methods inherited from class shared.HelperBaseCh4 |
---|
addHelperToSession, addHelperToSession, executeButtonMethod, executeButtonMethod, fillBeanFromRequest, invokeButtonMethod, populateThrow, writeError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControllerHelper(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- The object that encapsulates the request
information that is needed to communicate
with the browser.response
- The object that encapsulates the response
information that is needed to communicate
with the browser.Method Detail |
---|
public java.lang.String jspLocation(java.lang.String page)
jspLocation
in class ControllerHelper
page
- The name of the JSP. This will be appended to the
path of the directory that contains the JSPs. Using
this method forces all the JSPs to be in the same
directory.
public java.lang.String removeMethod()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |