What is the value of auto-assigning beans?

2001-05-30 Thread greyson . smith
This question may be asked out of ignorance, but it seems to me that using the tag: jsp:useBean id=MyBean scope=session class=Test.MyBean / jsp:setProperty name=MyBean property=* / to assign values from form fields to the bean is of limited use. Let's assume that there are 2 text fields, A and

RE: What is the value of auto-assigning beans?

2001-05-30 Thread Jann VanOver
: What is the value of auto-assigning beans? This question may be asked out of ignorance, but it seems to me that using the tag: jsp:useBean id=MyBean scope=session class=Test.MyBean / jsp:setProperty name=MyBean property=* / to assign values from form fields to the bean is of limited use. Let's

Re: What is the value of auto-assigning beans?

2001-05-30 Thread Boris Niyazov
1. setProperty in jsp does not have any effect if the value is empty string. 2. you use scope session So when set A it stores it in the session bean, next time when you set B with no A, B gets set in the bean and A remains the same (session scope). hth

RE: What is the value of auto-assigning beans?

2001-05-30 Thread greyson . smith
: 30-05-01 12:07 Subject: RE: What is the value of auto-assigning beans? PM Please respond

RE: What is the value of auto-assigning beans?

2001-05-30 Thread Jann VanOver
30, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: RE: What is the value of auto-assigning beans? Yes, I considered that, but I need the values to persist. The only data in the bean that needs to change in the bean is the data that corresponds to the form fields. Perhaps the answer is to have