I am trying to run an example JSP/Servlet application. The application
starts by requesting 'EShop.jsp'. This page allows the user to shop for
items. On the submit, a servlet is run where the requested shopping item
is added to a session shopping list. Then the following code snippet is
run that should refresh 'EShop.jsp' to show the selected shopping list:

   String url = "/cas/html/JSPExample/EShop.jsp";
   ServletContext sc = getServletContext();
   RequestDispatcher rd = sc.getRequestDispatcher(url);
   rd.forward(req, res);

But when this code is run from the Netscape 4.5 browser, I get a browser
popup window indicating:
  "Unknown file type. You have started to download a file type
application/java-vm"
   The popup window includes buttons for More Info, Pick App.., Save
App.., and Cancel.

Any ideas what might be wrong here or what is causing this?

Thank you and I hope I don't get yelled at for it being an obvious FAQ
question or newbie question.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to