... user.id maps to getUser().setId() ;-)

But about JavaBean Naming conventions:

Each bean has a setter and a getter method that begins with "set" and "get"
followed by bean name with uppercased first character. So if you have a bean
named "user", you should have setUser(...) and getUser() methods. In JSP and
Struts tags, you should use bean name: "user". To access beans attributes,
you can use ".". For example if your "user" bean has an "id" attribute you
have access to it using "user.id".   

Ali Behzadian Nejad.
-- 
View this message in context: 
http://www.nabble.com/Doubt-in-jsp-variables-tp18464201s2369p18503058.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to