public void init(ServletConfig config) throws ServletException{
		String props = config.getInitParameter("propertyConfig");
		//web.xml에서 propertyconfig에 해당하는 패러미터 읽어옴
		Properties pr = new Properties();
//		String realpath = config.getServletContext().getRealPath(".");
		FileInputStream f = null;
		try{
			f = new FileInputStream(props);
			//commandpro 파일 읽어옴
			pr.load(f);
			//읽어온 파일을 프로퍼티객체 저장
		}catch(IOException ex){
			throw new ServletException(ex);
		}finally{
			if(f!=null){
				try{
					f.close();
				}catch(IOException ex){
					System.out.println("파일스트림 닫는 오류" + ex);
				}
			}
		}
		Iterator<Object> keyIter = pr.keySet().iterator();
		//iterator 객체는 enumeration 객체를 확장시킨 객체.. 더 좋은거?
		while(keyIter.hasNext()){
			
			String command = (String)keyIter.next();
			
			String className = pr.getProperty(command);
			try{
				Class<?> commandClass = Class.forName(className);
				Object commandInstance = commandClass.newInstance();
				commandMap.put(command, commandInstance);
				//commandmap객체에 객체 저장
			}catch(ClassNotFoundException ex){
				throw new ServletException(ex);
			}catch(InstantiationException ex){
				throw new ServletException(ex);
			}catch(IllegalAccessException ex){
				throw new ServletException(ex);
			}
		}
	}