All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.andyshaox.servlet.mapping.PageViewProcess Maven / Gradle / Ivy

There is a newer version: 3.2.10.RELEASE
Show newest version
package com.github.andyshaox.servlet.mapping;

import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 
 * Title:
* Descript:
* Copyright: Copryright(c) Jan 22, 2016
* Encoding:UNIX UTF-8 * * @author Andy.Shao * */ public class PageViewProcess implements ViewProcess { @Override public void process(ServletConfig config , HttpServletRequest request , HttpServletResponse response , View view) throws ServletException , IOException { request.getRequestDispatcher(view.getResource().toString()).forward(request , response); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy