From: <IBM...@da...> - 2002-08-05 15:15:48
|
Hello! This is the page, I want to use: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4 Transitional//EN" /> <html> <head> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DI= SO-8859-1" /> <meta http-equiv=3D"expires" content=3D"Mon, 14 Jan 2002, 12:00:00 = GMT" /> <meta http-equiv=3D"cache-control" content=3D"no-cache" /> <meta http-equiv=3D"pragma" content=3D"no-cache" /> <title>LIMA on Web redirect</title> <script type=3D"text/javascript"> <!--=20 <% String targetFunction =3D null; targetFunction =3D (String)request.getAttribute("eBizTargetURL")= ; %> function redirect() { location.replace(document.forms[0].action); return true; } //--> </script> </head> <body bgcolor=3D"#FFFFFF" topmargin=3D"5" leftmargin=3D"5" marginheight= =3D"0"=20 marginwidth=3D"0" rightmargin=3D"0" onload=3D"redirect();"> <form action=3D"<%=3D targetFunction %>" method=3D"get"> </form> </body> </html> I reached this page, but somehow I can't find the form. I tried: ... ArrayList list =3D new ArrayList(); list.add("form"); System.out.println("List of forms: "+page.getHtmlElementsByTagNames(lis= te)); ... the Output: ... List of forms: [] Kathleen = |