@@ -806,8 +806,8 @@ \subsection{The {\tt SlideShowFrame} class}
806806on the repeating sequence of values 0, 1, 2, 0, 1, 2, and so forth.
807807Finally, the method calls {\tt repaint()} to display the image.
808808
809- \JavaTIP {PROGRAMMING TIP}{Modular Arithmetic.}{Modular arithmetic \break
810- ({\tt x \ % N}) is useful for cycling repeatedly through the values
809+ \JavaTIP {PROGRAMMING TIP}{Modular Arithmetic.}{Modular arithmetic
810+ ({\tt x % N}) is useful for cycling repeatedly through the values
811811$ 0 , 1 , \ldots , N-1 $ .}
812812
813813\noindent The frame's constructor, {\tt SlideShowFrame()} method will have two tasks:
@@ -3064,7 +3064,7 @@ \subsection{Java Server Pages}
30643064\end {lstlisting }
30653065\end {jjjlisting }
30663066
3067- \noindent The Java code on a JSP embedded within {\tt <\ % ... \ % >}
3067+ \noindent The Java code on a JSP embedded within {\tt <% ... %>}
30683068brackets and interspersed among a page's HTML tags. The Java code can
30693069extend over one or more lines. Figure~\ref {fig-jspcode } shows the
30703070complete sourcecode for a simple JSP.
@@ -3118,8 +3118,8 @@ \subsection{Java Server Pages}
31183118\end {lstlisting }
31193119\end {jjjlisting }
31203120
3121- \noindent A JSP expression element begins with {\tt <\ % =} and ends
3122- with {\tt \ % >}. The expression contained within the tag is
3121+ \noindent A JSP expression element begins with {\tt <% =} and ends
3122+ with {\tt % >}. The expression contained within the tag is
31233123evaluated, converted into a Java {\tt String} and inserted into the
31243124Web page. In this case the {\tt Date} object is evaluated and its
31253125string value is displayed on the Web page (Fig.~\ref {fig-jspscreen }).
0 commit comments