Re: [Stripes-users] Where does variable 'contacts' came from in the book about Stripes?

2015-12-23 Thread VANKEISBELCK Remi
Hi, When you write this in EL : ${actionBean.contacts} It actually looks for a JavaBean property named "contacts" on an object named "actionBean" bound to a JSP scope (here, request). In that case, it ends up invoking "getContacts". Cheers RĂ©mi 2015-12-23 18:10 GMT+01:00 Tika Spic

[Stripes-users] Where does variable 'contacts' came from in the book about Stripes?

2015-12-23 Thread Tika Spic
I'm currently only reading the book "Stripes: ...and Java web development is fun again". Since I'm not new to web development, I'm able to read this book without practicing in editor. I have spot a problem on page 47 in the following line: What is this reference "contacts"? It is not explicitly

[Stripes-users] Where does variable 'contacts' came from in the book about Stripes?

2015-12-23 Thread Tika Spic
I'm currently only reading the book "Stripes: ...and Java web development is fun again". Since I'm not new to web development, I'm able to read this book without practicing in editor. I have spot a problem on page 47 in the following line: What is this reference "contacts"? It is not

Re: [Stripes-users] Where does variable 'contacts' came from in the book about Stripes?

2015-12-23 Thread Rick Grashel
Hi Tika, That reference is just standard JSP EL notation that references a getter method on a bean. So "actionBean.contacts" will execute the method actionBean.getContacts(). This is a common way that Java/JSP web applications call into Java classes in order to execute accessor (getter)