You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marcus Biel <Ma...@bmw.de> on 2002/10/31 13:04:25 UTC

Re: MVC Design: property in ActionForm or Bean with property in A ctionForm ?

yes of course I know!
But how can I be sure that this "String" is a "Integer" ?

I mean I can simply convert this String to an Integer,
but I doubt this would help, cause a String can get converted to an
Integer.
(Like A is 65 I think)

So how can I be sure that the user typed 65 and not A ?

Marcus


Galbreath@tessco.com schrieb:
> 
> Are you kidding?  Dude, everything typed in an HTML form is a string.  You
> have to do some validation.
> 
> Mark

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>