Paul Clapham wrote:Actually I wouldn't have returned any kind of List for that requirement. You need something with a name, a city, a county, and a postcode? Then create a Java bean class which has those properties, and just use the properties in your EL. Using a List (or an array) is what beginners do before they learn that Java is an object-oriented language.
Bear Bibeault wrote:
As to the original issue, we need more info. What exactly is owneraccomms, and how is it being established as a scoped variable?
(Also, I advise to rethink your naming. "owneraccomms" not so good.)
Bear Bibeault wrote:You should not need to return the specific List implementation. In fact, doing so is a rather poor practice. DId that actual end up making a difference?
Prasad Krishnegowda wrote:Google sending email in java, you will get lot of links, try them, then if you have any questions or doubts, post them, people here will be happy to help you.
Please SearchFirst and ShowSomeEffort.
Bear Bibeault wrote:The convention of using reversed domain names is in order to avoid collisions with someone else's packages. Generally, you use a domain that you own, because that guarantees uniqueness. No one else can own that same domain.
For example, I own bibeault.org, so my personal projects use a package structure that follows: org.bibeault.project-name... where project-name is the name of the project to which the package belongs. E.g. org.bibeault.frontman, org.bibeault.resume, org.bibeault.bddb, org.bibeault.discovery, and so on.
When I'm working on a client's project, the packages are named using one of the client's domains.
If you don't own a domain, you should. You can't be considered a serious web developer if you don't own at least one domain.