the following code the include method is copying target html file source code into response and displaying out put that html file source code how to resolve this problem anyone help me...



import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
public class Sessionsrv1 extends HttpServlet
{
public void service(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException
{
PrintWriter out=res.getWriter();
HttpSession hs=req.getSession();
if(hs.isNew())
{
out.println("New Session got created"+hs.getId());
}
else
{
out.println("with existing session id:"+hs.getId());
}
String name=req.getParameter("uname");
String value=req.getParameter("uvalue");
//hs.setAttribute(name,value);
hs.setAttribute(name,value);
hs.setMaxInactiveInterval(120);
RequestDispatcher rd=req.getRequestDispatcher("/Signin.html");
rd.include(req,res);

}