Subversion Repositories SmartDukaan

Rev

Rev 651 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 651 Rev 773
Line 6... Line 6...
6
 
6
 
7
import java.io.IOException;
7
import java.io.IOException;
8
 
8
 
9
import org.apache.juli.logging.Log;
9
import org.apache.juli.logging.Log;
10
import org.apache.juli.logging.LogFactory;
10
import org.apache.juli.logging.LogFactory;
-
 
11
import org.apache.struts2.convention.annotation.Action;
11
 
12
 
12
/**
13
/**
13
 * 
14
 * 
14
 * @author rajveer
15
 * @author rajveer
15
 *
16
 *
Line 29... Line 30...
29
	
30
	
30
	public HomeController(){
31
	public HomeController(){
31
		super();
32
		super();
32
	}
33
	}
33
 
34
 
34
 
35
	@Action("/")
35
    public String index() throws SecurityException, IOException {
36
    public String index() throws SecurityException, IOException {
36
    	log.info("userinfo:" + userinfo.toString());
37
    	log.info("userinfo:" + userinfo.toString());
37
    	
38
    	
38
    	htmlSnippets.put("MAIN_BANNER", pageLoader.getMainBannerHtml());
39
    	htmlSnippets.put("MAIN_BANNER", pageLoader.getMainBannerHtml());
39
    	htmlSnippets.put("BEST_DEALS", pageLoader.getBestDealsHtml());
40
    	htmlSnippets.put("BEST_DEALS", pageLoader.getBestDealsHtml());