A
Amy G
I have a button setup as follows in my jsp page...
<form .....>
<input type="image" src="somefile.jpg" name="next">
</form>
Yet, in my bean, the setNext() method never gets called. I understand that
the value passed to the bean is an x and y coordinate of where the mouse was
clicked... however I cannot figure out what data type(s) the method is
expecting.
I have tried the following
public void setIndex(int a)
public void setIndex(int a, int b)
public void setIndex(int[] a)
public void setIndex(String a)
public void setIndex(Object a)
public void setIndex(Point a)
public void setIndex_X(int a)
public void setIndex_x(int a)
public void setIndexX(int a)
None of them work. Can someone please point me in the right direction???
<form .....>
<input type="image" src="somefile.jpg" name="next">
</form>
Yet, in my bean, the setNext() method never gets called. I understand that
the value passed to the bean is an x and y coordinate of where the mouse was
clicked... however I cannot figure out what data type(s) the method is
expecting.
I have tried the following
public void setIndex(int a)
public void setIndex(int a, int b)
public void setIndex(int[] a)
public void setIndex(String a)
public void setIndex(Object a)
public void setIndex(Point a)
public void setIndex_X(int a)
public void setIndex_x(int a)
public void setIndexX(int a)
None of them work. Can someone please point me in the right direction???