Aryeh Katz wrote:
> is modified with a StringBuffer.replace in a tag that is recorded as part of the

there's your problem. StringBuffer.replace().

You're doing exactly what I described in the previous email. You really
should be using a JSP with just

<html>
......
....

<% if(request.getParameter("input") != null) {
      out.write(request.getParameter("input"));
   } else {
      out.write("not login provided, please enter a valid login name");
   }
%>

</html>


this way, it's not going character by character to scan for the text and
replacing it once it finds it.  I've done simple pages like the one
above that responds in 3-4ms under 16 concurrent requests.


peter lin

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to