Sun Java Solaris Communities My SDN Account Join SDN
 
Code sample

Code Samples from the Java Developers Almanac 2000

 


Code Samples Index

These code examples and other materials are subject to Sun Microsystems, Inc. Legal Terms

Getting an Applet Parameter

 String s = getParameter("p");   
 
Here is a sample HTML file containing a value for the parameter \meta{p}.
 <applet code=AppletClassName width=100 height=100>
 <param name=p value="some text">
 </applet>
 

Examplets provided by permission of the publisher, Addision-Wesley, and Author Patrick Chan.

Order this book from Amazon