Subversion Repositories SmartDukaan

Rev

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

Rev 5638 Rev 6996
Line 61... Line 61...
61
		return "show";
61
		return "show";
62
	}
62
	}
63
	
63
	
64
	public String getHTML()	throws Exception {
64
	public String getHTML()	throws Exception {
65
		String filePath;
65
		String filePath;
66
		String p1=request.getParameter("p1");
66
		String p1=request.getParameter("p1").trim();
67
		String p2=request.getParameter("p2");
67
		String p2=request.getParameter("p2").trim();
68
		if(snippets.containsKey(id)){
68
		if(snippets.containsKey(id)){
69
			return snippets.get(id);
69
			return snippets.get(id);
70
		} else if(p1 == null && p2==null){
70
		} else if(p1 == null && p2==null){
71
			filePath = BASE_PATH + id + ".html";
71
			filePath = BASE_PATH + id + ".html";
72
		}	
72
		}