Hi,
I have a super simple
jsp in which I'm trying to take advantage of an existing class (java.awt.Polygon). Info on that class is here -
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Polygon.html. Basically, it works if I only provide 4 xy pairs. If I add a 5th pair, it fails - "java.lang.ArrayIndexOutOfBoundsException: 4". I'm a newb, but it seems that I've provided more xy pairs than the array can hold. However, I defined polygon1.npoints=5 - so shouldn't it be able to hold 5 pairs?
Thanks for any tips - my jsp is below...