Subversion Repositories SmartDukaan

Rev

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

Rev 20539 Rev 20540
Line 101... Line 101...
101
				return "index";
101
				return "index";
102
			}
102
			}
103
			boolean verify = VerifyRecaptcha.verify(gRecaptchaResponse);
103
			boolean verify = VerifyRecaptcha.verify(gRecaptchaResponse);
104
			if (verify){
104
			if (verify){
105
				addActionMessage("Thank you, your query has been submitted.");
105
				addActionMessage("Thank you, your query has been submitted.");
-
 
106
				return "index";
106
			}
107
			}
107
			addActionError("Captcha verification failed.");
108
			addActionError("Captcha verification failed.");
108
 
109
 
109
		} catch (IOException e) {
110
		} catch (IOException e) {
110
			System.out.println(e);
111
			System.out.println(e);