PHP 4.0 Bug #4000: Errors in sapi/servlet/servlet.java
| From: | sashi at easy dot com dot au | Date: | Sat, 01 Apr 2000 15:14:02 +0000 |
| Subject: | PHP 4.0 Bug #4000: Errors in sapi/servlet/servlet.java | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17485@lists.php.net to get a copy of this message | ||
From: sashi@easy.com.au
Operating system: Mandrake Linux 7.0
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Compile Failure
Bug description: Errors in sapi/servlet/servlet.java
There are two errors in the servlet.java file in sapi/servlet that result in compilation errors when
running make (ie. I first did a "configure --with-servlet=/usr/local/jsdk2.0"):
Line 89:
"response.addHeader(...)" should actually be
"response.setHeader(...)" according to the API documentation for
javax.servlet.http.HttpServletResponse.
Line 135:
"throw new ServletException(e)" should actually be
"throw new ServletExecption(e.toString())"