----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

on 12/20/99 4:43 PM, Sean Dowd <[EMAIL PROTECTED]> wrote:

> I seem to be having a similar problem.  This code works fine with the
> count set to something less than 100.  At about 100 (with a content
> length of around 1200) the HttpServletRequest doesn't have any of the
> parameters.
> 
> Invoke with /servlet/xxx?count=nnn, play with the nnn and at some point
> you'll see the "it's whacked" message.
> 
> 
> (Sorry 'bout the formatting.)

Wow. This is a simple fix.

You do not have an out.close() in your code (it should happen in a finally
block to ensure that it will be executed even if an exception is thrown).
You might also want to try the latest version of Apache JServ from CVS. I
made a one line code correction earlier today that will probably help in
cases where you forget to put an out.close() into your code.

Also, which JSDK are you using? Are you using the clone one and not the
official Sun one? If so, older versions of it had bugs with this stuff I
believe.

Lastly, I hope you don't really write code like that for your servlets. You
should at least be using ECS. It would make your code look a LOT better.
<http://java.apache.org/ecs/>. If you want to have an easier to use system
for creating sites, you should use Turbine
<http://java.apache.org/turbine/>. With Turbine, your code will never have
the issues of forgetting to put in out.close().

regards,

-jon

-- 
Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to