-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
流水音,
On 6/1/2009 1:55 AM, 流水音 wrote:
> when the maxcount() returns 15, the exception is thrown out before the
> first buffer is flushed, then client can get the response code of: 605
> but when the maxcount() returns 9, the exception is thrown out
HI,ALL:
Servlet code(deployed on Tomcat server):
private void execute(HttpServletRequest req, HttpServletResponse
resp) throws ServletException, IOException {
try {
int count = 0;
while(count< 100){
out.write(97);
Hi All,
There is an issue with non-latin characters in the custom error page.
Calling "response.sendError(404);" from JSP context causes Tomcat to mangle
all non-latin characters in 404.jsp.
I have described the issue and how to recreate it:
http://forum.java.sun.com/thread.jspa?threa
created a servlet which has JDBC calls in it. As part of error catching, I
> have a response.sendError called if there is no data returned from a table
> call. I input to the sendError method the value of 700 (my custom error
> number) and a test message. I have a custome error page cre
of error catching, I
have a response.sendError called if there is no data returned from a table
call. I input to the sendError method the value of 700 (my custom error number)
and a test message. I have a custome error page created to output a customized
error message for this 700 error code
Anyone run across this before?
I created a servlet which has JDBC calls in it. As part of error catching, I
have a response.sendError called if there is no data returned from a table
call. I input to the sendError method the value of 700 (my custom error number)
and a test message. I have a