RE: JSTL okay with get method, but no set method?

2003-03-17 Thread Chen, Gin
.. why fix it. heh -Tim -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2003 8:00 PM To: [EMAIL PROTECTED] Subject: JSTL okay with get method, but no set method? I have a DTO that contains a List of objects. Since you can add any Object to a List, I

JSTL okay with get method, but no set method?

2003-03-14 Thread Wendy Smoak
I have a DTO that contains a List of objects. Since you can add any Object to a List, I would rather not have a setAssistants( List asst ); method that would allow someone to add a list of inappropriate object types. Instead, I want to only have: public List getAssistants(); public void

Re: JSTL okay with get method, but no set method?

2003-03-14 Thread David M. Karr
Wendy == Wendy Smoak [EMAIL PROTECTED] writes: Wendy I have a DTO that contains a List of objects. Since you can add any Object Wendy to a List, I would rather not have a Wendy setAssistants( List asst ); Wendy method that would allow someone to add a list of inappropriate