HomeDigital EditionSys-Con RadioSearch Java Cd
Advanced Java AWT Book Reviews/Excerpts Client Server Corba Editorials Embedded Java Enterprise Java IDE's Industry Watch Integration Interviews Java Applet Java & Databases Java & Web Services Java Fundamentals Java Native Interface Java Servlets Java Beans J2ME Libraries .NET Object Orientation Observations/IMHO Product Reviews Scalability & Performance Security Server Side Source Code Straight Talking Swing Threads Using Java with others Wireless XML
 

"Java 2 Platform Standard Edition 1.3/ Enterprise Edition 1.2.1 by Sun Microsystems"
Vol. 5, Issue 8, p. 38

	

Listing 1: helloworld.jsp 

<%@ page info="a hello world example" %> 

<html> 
<head><title>Hello, World</title></head> 
<body bgcolor="#ffffff" background="background.gif"> 
<%@ include file="dukebanner.html" %> 
<table> 
<tr> 
<td width=150>   </td> 
<td width=250 align=right> <h1>Hello, World!</h1> </td> 
</tr> 
</table> 
</body> 
</html> 

Listing 2: dukebanner.html 

<table border="0" width="400" cellspacing="0"  cellpadding="0"> 
<tr> 
<td height="150" width="150">   </td> 
<td width="250">   </td> 
</tr> 
<tr> 
<td width="150">   </td> 
<td align="right" width="250"> 
        <img src="duke.waving.gif"> </td> 
</tr> 
</table> 
<br> 

  
 
 

All Rights Reserved
Copyright ©  2004 SYS-CON Media, Inc.
  E-mail: [email protected]

Java and Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. SYS-CON Publications, Inc. is independent of Sun Microsystems, Inc.