Copyright © 2006-2007 – ESUP-Portail Le MVC Spring (portlet) import org.springframework.web.portlet.mvc.Controller; import org.springframework.web.portlet.ModelAndView; public class PortletController implements Controller { public ModelAndView handleRequest( PortletRequest request, PortletResponse response) throws ServletException, IOException { logger.info( returning hello view ); return new ModelAndView( hello.jsp ); } }
{}