This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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
jQuery in Action, 3rd edition