Subversion Repositories SmartDukaan

Rev

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

Rev 8325 Rev 8327
Line 77... Line 77...
77
	 */
77
	 */
78
    // GET /query
78
    // GET /query
79
 
79
 
80
    public String index() throws Exception {
80
    public String index() throws Exception {
81
    	
81
    	
82
    	log.info("this.request.param=" + this.request.getParameterMap());
-
 
83
    	
82
    	
84
		query = this.request.getParameter("q");
83
		query = this.request.getParameter("q");
-
 
84
		
85
		url = "q="+ URLEncoder.encode(query, "UTF-8");
85
		url = "q="+ URLEncoder.encode(query, "UTF-8");
86
 
86
 
87
 
87
 
88
		if(query.trim().isEmpty()){
88
		if(query.trim().isEmpty()){
89
				location = "/";
89
				location = "/";