--- ravi_eze <[EMAIL PROTECTED]> wrote:
> public class newLongConverter extends StrutsTypeConverter {
> public Object convertFromString(Map context, String[] values, Class
> toClass) {
> if (null == values || values.length == 0 || values[0]==null ||
> values[0].trim().length()==0 )
> return 0;
> try {
> int i = Integer.parseInt(values[0]);
If it's a Long converter you might want to consider parsing a Long, not an
int.
That doesn't answer your question, but it still might be a good idea.
d.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]