Author: markt Date: Mon Oct 27 15:51:02 2008 New Revision: 708367 URL: http://svn.apache.org/viewvc?rev=708367&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=46067 Correct typos on AIO docs
Modified: tomcat/tc6.0.x/trunk/webapps/docs/aio.xml tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc6.0.x/trunk/webapps/docs/aio.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/aio.xml?rev=708367&r1=708366&r2=708367&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/aio.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/aio.xml Mon Oct 27 15:51:02 2008 @@ -48,7 +48,7 @@ <section name="Comet support"> <p> - Comet support allows a servlet to process IO aynchronously, recieving + Comet support allows a servlet to process IO aynchronously, receiving events when data is available for reading on the connection (rather than always using a blocking read), and writing data back on connections asychnonously (most likely responding to some event raised from some @@ -155,7 +155,7 @@ <subsection name="Example code"> <p> - The following pseudo code servlet implments asynchronous chat functionality using the API + The following pseudo code servlet implements asynchronous chat functionality using the API described above: </p> @@ -299,7 +299,7 @@ </subsection> <subsection name="Comet timeouts"> <p>If you are using the NIO connector, you can set individual timeouts for your different comet connections. - To set a timeout, simple set a request attribute like the following code shows: + To set a timeout, simply set a request attribute like the following code shows: <source>CometEvent event.... event.setTimeout(30*1000);</source> or <source>event.getHttpServletRequest().setAttribute("org.apache.tomcat.comet.timeout", new Integer(30 * 1000));</source> This sets the timeout to 30 seconds. Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=708367&r1=708366&r2=708367&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Mon Oct 27 15:51:02 2008 @@ -221,6 +221,9 @@ <bug>45940</bug>: Correct name of username attribute for JDBC resources in JNDI how to. (markt) </fix> + <fix> + <bug>46067</bug>: Fix typos in Advanced IO how to. (markt) + </fix> </changelog> </subsection> <subsection name="Other"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]