The parse should proceed correctly and give you one META tag. There is
no need for a HTML tag.
The redirection will need to be coded by you though, as there isn't any
support in the parser to do that other than what comes for free with the
FollowRedirects of a normal URLConnection.
Eugeny N Dzhurinsky wrote:
>Hi!
>
>I facing a problem: some pages consists just of single line:
>
><META HTTP-EQUIV=Refresh CONTENT="0; URL=/internet/index.jsp">
>
>so there is no HTML tag, and thus HTMLParser seems not parses this page at
>all. Is there any way to parse such pages and extract tags?
>
>I'm asking because all browsers works fine with such pages, they seems to
>parse them, extract redirection URI and process redirects.
>
>
>
|