What password.java does is to take your password, which, if correct, sends you to the protected page.
An incorrect password takes you to password2.html, which is the "wrong password" page.
Have two html files for correct and incorrect password entries.
Java Source: /password/source.html
HTML Source:
<applet code="password.class" width=490 height=32>
<param name=root value="http://javaboutique.internet.com/password/">
<param name=wrong value="http://javaboutique.internet.com/password/password2.html">
<param name=bgcolor value="ffffff">
<param name=fgcolor value="000000">
<param name=textfield value="40">
<param name=button value="ENTER">
<param name=font_size value="12">
<param name=font_face value="Courier">
<param name=title value="Web Deve________">
</applet>
Author: John Eriksson of BugBase
Homepage: http://surf.to/bugbase
Upload date: July 9, 1997
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.