Subversion Repositories SmartDukaan

Rev

Rev 19706 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19706 Rev 19707
Line 63... Line 63...
63
        }
63
        }
64
    }
64
    }
65
    
65
    
66
    public BaseController() {
66
    public BaseController() {
67
		htmlSnippets = new HashMap<String, String>();
67
		htmlSnippets = new HashMap<String, String>();
-
 
68
		if(request.getSession() != null) {
68
		OCRSession = StringUtils.isNotEmpty((String)request.getSession().getAttribute("OCR_SESSION"));
69
			OCRSession = StringUtils.isNotEmpty((String)request.getSession().getAttribute("OCR_SESSION"));
-
 
70
		} else {
-
 
71
			OCRSession = false;
-
 
72
		}
69
	}
73
	}
70
 
74
 
71
    public void setServletResponse(HttpServletResponse response) {
75
    public void setServletResponse(HttpServletResponse response) {
72
        this.response = response;
76
        this.response = response;
73
    }
77
    }