Having a small problem compiling servlet.java (php servlet java file)
on Solaris 2.6 using java
home/dwight/php/php-4.0.4pl1/build/shtool mkdir -p net/php
javac net/php/reflect.java
javac -classpath
.:.:/usr/java/lib/classes.zip:phpsrvlt.jar:/opt/netscapeSvr/ns-home/plugins
/java/classes/servlet3_5.zip net/php/servlet.java
net/php/servlet.java:116: Method getWriter() not found in interface
javax.servlet.http.HttpServletResponse.
response.getWriter().print(data);
^
net/php/servlet.java:117: Exception java.io.IOException is never thrown in
the body of the corresponding try statement.
} catch (IOException e) {
^
2 errors
Addtional info:
HttpServletResponse response;
ServletResponse contains getWriter() module
Why isn't the getWriter() module contained in ServletResponse
being inherited by HttpServletResponse?
Is the IOException error related to the error on line 116 or is this really
a separate problem? If so, any suggestions...
Thanx in advance...