Re: How to detect Input Image

2003-01-13 Thread Billy Ng
Wow, looks cool!  However, if I can get the request object in the
ActionForm, the code can be much shorter.

Billy Ng

- Original Message -
From: "Robert Taylor" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 11:21 AM
Subject: RE: How to detect Input Image


> See http://husted.com/struts/tips/001.html
>
> robert
>
> > -Original Message-
> > From: Billy Ng [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 13, 2003 1:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: How to detect Input Image
> >
> >
> > Is there a way to find a 
> > is hit?  I am using the following code which is working very good.
> >
> >
> > (!"0".equals(getRequest().getParameter("delete.y")) &&
> > !"0".equals(getRequest().getParameter("delete.x")))
> >
> > However, this looks really urgly.  Is there any get() and set()
> > methods that I can use in ActionForm to get x and y int?
> >
> > Thanks!
> >
> > Billy Ng
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: How to detect Input Image

2003-01-13 Thread Robert Taylor
See http://husted.com/struts/tips/001.html

robert

> -Original Message-
> From: Billy Ng [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 13, 2003 1:58 PM
> To: [EMAIL PROTECTED]
> Subject: How to detect Input Image
> 
> 
> Is there a way to find a  
> is hit?  I am using the following code which is working very good.
> 
> 
> (!"0".equals(getRequest().getParameter("delete.y")) && 
> !"0".equals(getRequest().getParameter("delete.x"))) 
> 
> However, this looks really urgly.  Is there any get() and set() 
> methods that I can use in ActionForm to get x and y int?
> 
> Thanks!
> 
> Billy Ng
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: