head 1.1; access; symbols IT1FALL00:1.1; locks; strict; comment @# @; 1.1 date 2000.11.16.17.25.59; author dbc; state Exp; branches; next ; desc @@ 1.1 log @Added Files: VendingView5.java.txt @ text @ import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class VendingView5 extends HttpServlet { String selectURL = "http://sirah.csit.fsu.edu:8089/dbc/servlet/VendingMachine5" ; public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType("text/html"); HttpSession session = request.getSession(true) ; Vector selections = (Vector) session.getAttribute("selections") ; PrintWriter out = response.getWriter(); out.println(""); out.println("Current selections:

") ; for(int j = 0 ; j < selections.size() ; j++) out.println((String) selections.get(j) + "
") ; out.println("Select more") ; out.println(""); } } @