This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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