| Line 16... |
Line 16... |
| 16 |
import org.apache.juli.logging.LogFactory;
|
16 |
import org.apache.juli.logging.LogFactory;
|
| 17 |
import org.apache.struts2.interceptor.CookiesAware;
|
17 |
import org.apache.struts2.interceptor.CookiesAware;
|
| 18 |
import org.apache.struts2.interceptor.ServletRequestAware;
|
18 |
import org.apache.struts2.interceptor.ServletRequestAware;
|
| 19 |
import org.apache.struts2.interceptor.ServletResponseAware;
|
19 |
import org.apache.struts2.interceptor.ServletResponseAware;
|
| 20 |
|
20 |
|
| - |
|
21 |
import com.opensymphony.xwork2.ValidationAware;
|
| - |
|
22 |
import com.opensymphony.xwork2.ValidationAwareSupport;
|
| - |
|
23 |
|
| 21 |
/**
|
24 |
/**
|
| 22 |
* Base class for all user action handlers i.e. controllers
|
25 |
* Base class for all user action handlers i.e. controllers
|
| 23 |
*
|
26 |
*
|
| 24 |
* @author rajveer
|
27 |
* @author rajveer
|
| 25 |
*/
|
28 |
*/
|
| 26 |
public abstract class BaseController implements CookiesAware, ServletResponseAware, ServletRequestAware {
|
29 |
public abstract class BaseController extends ValidationAwareSupport implements CookiesAware, ServletResponseAware, ServletRequestAware {
|
| - |
|
30 |
/**
|
| - |
|
31 |
*
|
| - |
|
32 |
*/
|
| - |
|
33 |
private static final long serialVersionUID = 1L;
|
| 27 |
protected Map<String, Cookie> cookiesMap = null;
|
34 |
protected Map<String, Cookie> cookiesMap = null;
|
| 28 |
protected HttpServletResponse response;
|
35 |
protected HttpServletResponse response;
|
| 29 |
protected HttpServletRequest request;
|
36 |
protected HttpServletRequest request;
|
| 30 |
protected HttpSession session;
|
37 |
protected HttpSession session;
|
| 31 |
protected UserSessionInfo userinfo = null;
|
38 |
protected UserSessionInfo userinfo = null;
|