File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes sun.servlet.http.HttpOutputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sun.servlet.http.HttpOutputStream" Watch "sun.servlet.http.HttpOutputStream" New topic


Reetta Pitkanen

Joined: Jun 21, 2001
Posts: 1
I'm working on a servlet and get the following error message both when compiling the source code and when attempting to start the servletrunner utility: cannot resolve symbol
symbol : class HttpOutputStream
location: package http
out = ((sun.servlet.http.HttpOutputStream)res.getOutputStream());
Exception in thread "main" java.lang.NoClassDefFoundError: sun/servlet/http/Http
java.exe: No error
Any help you could offer would be greatly appreciated
Thank you,
I agree. Here's the link:
subject: sun.servlet.http.HttpOutputStream