All my projects have to be developed in the Struts framework using Java 1.4.something but I really would like to use Watij web automation for a quick web scraping however it's Java 5. What is the best way to incorporate it into my project seeing as I can't directly use as it won't compile in my current project with Java 5.
Here's the link if anyone is interested, it seems extremely interesting.
http://watij.com/
I already tried creating a Java 5 project, JARing it up and then just importing it in my struts project and calling the method I want however I end a
java.lang.reflect.InvocationTargetException