Skip to content

Commit 26c2407

Browse files
committed
minor
1 parent 4b9af9b commit 26c2407

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

texfiles/15.sockets.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,8 @@ \subsection{The {\tt SlideShowFrame} class}
806806
on the repeating sequence of values 0, 1, 2, 0, 1, 2, and so forth.
807807
Finally, 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 <% ... %>}
30683068
brackets and interspersed among a page's HTML tags. The Java code can
30693069
extend over one or more lines. Figure~\ref{fig-jspcode} shows the
30703070
complete 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
31233123
evaluated, converted into a Java {\tt String} and inserted into the
31243124
Web page. In this case the {\tt Date} object is evaluated and its
31253125
string value is displayed on the Web page (Fig.~\ref{fig-jspscreen}).

0 commit comments

Comments
 (0)