jQuery in Action, 2nd edition*
The moose likes Other Open Source Projects and the fly likes htmlunit - first use - I get big bunch of Warnings when I load the page. Is that normal? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "htmlunit - first use - I get big bunch of Warnings when I load the page. Is that normal?" Watch "htmlunit - first use - I get big bunch of Warnings when I load the page. Is that normal?" New topic
Author

htmlunit - first use - I get big bunch of Warnings when I load the page. Is that normal?

Petar Thomas
Ranch Hand

Joined: Oct 11, 2009
Posts: 234
Hi.
I have this code (down) which produces a big bunch of warnings (pasted underneith).

Why? ( Is this normal?)

I will be thankfull for any comment. (Sorry for broken English )

Thank You.




warnings...

Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
WARNING: Obsolete content type encountered: 'text/javascript'.

This can be safely ignored. If you search for "text/javascript obsolete" you'll get a whole bunch of results about what's going on, but in practical terms, it doesn't really matter.

All the other ones seem to be about not being able to make sense of Flash objects (which the JavaRanch home page uses for ads). While you didn't say what you intend to do with the web page you retrieved, most likely it won't have anything to do with those. So you can ignore them too. There's probably a way to tell HtmlUnit to ignore (or not bother at all) with Flash through some setting.
Petar Thomas
Ranch Hand

Joined: Oct 11, 2009
Posts: 234
Thank You very much Lester Burnham.



I want to make an application that would be a java ranch reader, which should be a part of a notes organiser, for my own fun and practical use.

I readed about text/javascript obsolete.
I was suspecting that other warnings might be becaouse of the flash ads, and thank You for Your opinion too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: htmlunit - first use - I get big bunch of Warnings when I load the page. Is that normal?
 
Similar Threads
displaying google Addsense on butons click
How to login to javaranch with HtmlUnit?
Interview Q for testing
trojan warning re. Google ads
NullPointerException: Module 'null' not found