import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class MyCookieServlet extends HttpServlet implements SingleThreadModel {
private static final String name = "JavaGuyLogin";
private static final String form = "
Since I have deemed that revealing this information is harmless," + "
You may view the Visitor Names file." + "
You may view the Site Log file." + "
If you delete your cookie you will have to choose a new name!" + "
If you want to change your name you will have to delete your cookie." + "
To delete your cookie, choose 'find' then 'files' from the start menu." +
"
Set named: to '*.txt'.
Set containing text: to 'your old name'." +
"
Set look in: to 'c:' and be sure that include subfolders is checked." +
"
Click the 'advanced' tab and set size is: to 'at most 1k' and click 'find now'." +
"
Then just 'right' click on the file and choose 'delete'.