well, I encountered this myself....

I assumed you used the setProperty with "*" right?....

well the you need to handle this problem yourself, which mean you cannot use that.
Jsp engine won't call your setter if it do a getParamter() and the return is null.  
What
you can do is create a setProperty() method inside you bean that will call 
getParameter()
for all your parameters and if it return null call you set<parameter> and set it to a 
zero
length string("").



Rajiv Shah wrote:

> Hello Everyone,
>
>                 I have created one servletvbean with five set and get method then i 
>have
> created jsp for those five field. Now problem is that when I am entering any
> value of space in that field it calls according setmethod but when i am not
> entering any value it doesn't call setmethod. so could you say me why this
> is heppninig.
> Thanks for your help
> Rajiv Shah
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to