Hello. This is what i'm trying to do:
public class ComputeSearch extends HttpServlet {
private static final long serialVersionUID = 1L;
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
PrintWriter exit=response.getWriter();
exit.println("<%@ include file=\"GetByPath.jsp?path=1/2/5/\" %>");
}
}
The problem is that the server does not compile that jsp line. It just prints it ! Any idea how to make it compile and use it as a link?