Don't use scriptlets because it will make your code harder to maintain and less readable. Also, you would not be required to seperate view and program logic from each other, so this is the worst one:
<%=mainBean.getMemberOne().getSomeAttribute() %>
The other ones, I would say, are a matter of taste. I prefer ${mainBean.memberOne.someAttribute}
, because it is short and easy to read. However, be careful using this method because of Cross Site Scripting attacks.