%@ taglib uri="/WEB-INF/taglibs/cal.tld" prefix="cal" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@ page import="com.k_int.salcal.dto.BookingDTO" %> <% String base_dir = request.getContextPath(); String curr_url = base_dir+"/Referrer/Refer/Create"; BookingDTO dto = null; if (request.getSession().getAttribute("dto") != null) { dto = (BookingDTO) request.getSession().getAttribute("dto"); } org.springframework.web.context.WebApplicationContext ctx = org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(application); com.k_int.salcal.util.UserMessageService msgs = (com.k_int.salcal.util.UserMessageService) ctx.getBean("CalMessageService"); %>