public class ImageAction
extends com.opensymphony.xwork2.ActionSupport
implements org.apache.struts2.interceptor.ServletRequestAware
| Constructor and Description |
|---|
ImageAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute()
Die Methode get() laedt eine Kategorie anhand des
ServletRequest-Parameters "category_id" aus der entsprechenden
Datenbanktabelle und speichert diese in die Variable "this.category"
|
CaptchaImage |
getCaptchaImage() |
void |
setCache(boolean cache) |
void |
setServletRequest(javax.servlet.http.HttpServletRequest servletRequest) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validatepublic void setServletRequest(javax.servlet.http.HttpServletRequest servletRequest)
setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAwarepublic CaptchaImage getCaptchaImage()
public void setCache(boolean cache)
cache - the cache to setpublic String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportCopyright © 2012–2020 T.I.V. Consulting GmbH. All rights reserved.