-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@186 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
- Loading branch information
chiba
committed
Jun 24, 2005
1 parent
cb8fe91
commit 9b1411e
Showing
9 changed files
with
72 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package sample.evolve; | ||
|
||
import java.io.*; | ||
import java.util.*; | ||
|
||
/** | ||
* Updatable class. DemoServer instantiates this class and calls | ||
* show() on the created object. | ||
*/ | ||
|
||
public class WebPage { | ||
public void show(OutputStreamWriter out) throws IOException { | ||
out.write("<H2>Current Time:</H2>"); | ||
Calendar c = new GregorianCalendar(); | ||
out.write("<CENTER><H3><FONT color=\"blue\">"); | ||
out.write(c.getTime().toString()); | ||
out.write("</FONT></H3></CENTER><HR>"); | ||
out.write("<P><A HREF=\"demo.html\">Return to the home page.</A>"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters