<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: int sumOfFirstIntegers = toInteger * (toInteger + 1 ) / 2;   int sumByLoop = 0 ; for (int counter = 1; counter     The sum of integers from 1 to  by loop is:         Notice that Listing 4-4 uses pieces of Java code as opposed to an entire method. Changing Listing 4-4 to use a declaration  causes the JSP translator to generate an error, as shown in Listing 4-5.   Listing 4-5: Tomcat reacts to using a JSP declaration where a scriptlet is called for   Error: 500  Location: /examples/jsp/loutest/loutest.jspInternal Servlet Error:  org.apache.jasper.JasperException: Unable to compile class forJSPD:tomcat32worklocalhost_8080%2Fexamples_0002fjsp_0002floutest_0002floutest_0002ejsploutest_jsp_0.java:24: Typeexpected.   for (int counter = 1; counter</title>
	<link>http://jsp.virtualwebstudio.com/2008/01/14/int-sumoffirstintegers-tointeger-tointeger-1-2-int-sumbyloop-0-for-int-counter-1-counter-the-sum-of-integers-from-1-to-by-loop-is-notice-that-listing-4-4-uses-pieces-of-java-code-as-opposed-to-an-enti/</link>
	<description>JSP In Your Hand</description>
	<pubDate>Wed, 08 Feb 2012 18:36:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

</channel>
</rss>

