forked from anumarwaha/ST2-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.java
More file actions
29 lines (29 loc) · 1.28 KB
/
about.java
File metadata and controls
29 lines (29 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class about extends HttpServlet
{
public void doGet(HttpServletRequest re,HttpServletResponse rs)
throws ServletException,IOException
{
rs.setContentType("text/html");
PrintWriter out=rs.getWriter();
out.println("<html>");
out.println("<head><title>cyber credit card system</title></head>");
out.println("<body alink=#000000 vlink=maroon bgcolor=#ded7be>");
out.println("<a href='http://localhost:8080/servlet/gloss_of_terms' target='second'>Guide</a>");
out.println("<br><br>");
out.println("<a href='http://localhost:8080/servlet/best_card' target='second'>Choose your own best card</a>");
out.println("<br><br>");
out.println("<a href='http://localhost:8080/servlet/cost_card' target='second'>Cost of the cards</a>");
out.println("<br><br>");
out.println("<a href='http://localhost:8080/servlet/fact' target='second'>Hard Facts</a>");
out.println("<br><br>");
out.println("<a href='http://localhost:8080/servlet/contact' target='second'>Contact us</a>");
out.println("<br><br>");
out.println("<a href='http://localhost:8080/servlet/aboutus' target='second'>About us</a>");
out.println("<br><br>");
out.println("</body></html>");
out.close();
}
}