import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Slip21 extends HttpServlet
{
public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException
{
String uid = req.getParameter("uid");
String Password = req.getParameter("Password");
String name = req.getParameter("Name");
String addr = req.getParameter("Address");
res.setContentType("text/html");
PrintWriter pw = res.getWriter();
pw.println("\nUser id : "+uid);
pw.println("\nPassword : "+Password);
pw.println("\nName : "+name);
pw.println("\nAddress : " +addr);
pw.close();
}
}
No comments:
Post a Comment