書き直してみました。
public class indexS extends HttpServlet{
 public void doGet(HttpServletRequest req, HttpServletResponse res)
  throws IOException,ServletException{
   PrintStream out;
   res.setContentType("text/html; charset=Shift_JIS");
   out = new PrintStream(res.getOutputStream());
   out.println("<html><head>");
   out.println("<META HTTP-EQUIV=\"Content-Type\"CONTENT=\"text/html; charset=Shift_JIS\">");
   out.println("<title>Test Servlet</title></head>");
   out.println("<body><h1>サーブレット</h1>");
   out.println("<p>This text came from a servlet.</p>");
   out.println("</body></html>");
   out.flush();
   }
}
結果
・オ。シ・ヨ・・テ・ネ
This text came from a servlet

どこをどうしたらいいのでせうか…