Thanks guys,
I got it working.
The polygon class is very close to what I need, but the addPoint(int x, int y) method needs to accept doubles. I tried to address this by overriding the method "public void addPoint(Double x, Double y){}".
The class compiles just fine and I can access it's methods. As you can see in the jsp, I can use addPoints with doubles just fine, and polys are created. However, when I try to
test the contains(method), it only seems to work when addPoints is loaded with integers - if the polygon uses doubles, contains() always returns false.
Any thoughts why?
Thanks guys,
Mike
Java class
jsp code: