head 1.1; access; symbols IT1FALL00:1.1; locks; strict; comment @# @; 1.1 date 2000.11.16.17.25.07; author dbc; state Exp; branches; next ; desc @@ 1.1 log @Modified Files: index.html Added Files: GetSession.java.txt SetCookies.java.txt ShowCookies.java.txt TrivialBrowser.java.txt VendingMachine4.java.txt VendingMachine5.java.txt VendingView4.java.txt setcookiesEg.html vendingmachine4Eg.html vendingmachine5Eg.html @ text @ import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class GetSession extends HttpServlet { String myURL = "http://sirah.csit.fsu.edu:8089/dbc/servlet/GetSession" ; public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { HttpSession session = request.getSession() ; response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("
"); out.println("" + "View servlet again") ; out.println(""); } } @