public Vector PopDat()
{
Vector vf=new Vector();
try
{
URL studentDBservlet = new URL( "http://jahanzeb:8080/servlet/QuerySer?Qname="+ap.getParameter("Per"));
URLConnection servletConnection = studentDBservlet.openConnection();
BufferedReader inFromServlet = new BufferedReader(new InputStreamReader(servletConnection.getInputStream()));
String str;
while (null != ((str = inFromServlet.readLine())))
{
vf.add(str);
System.out.println(str);
}
}catch(Exception e)
{
System.out.println(e.toString());
}
return vf;
}