Could someone explain the significance of the 'id' parameter. Sun has replaced it with(maybe sometime ago) 'var'. I would really appreciate it if someone could please give me an explanation as to why and why did the 'id' attribute have draw backs.
Thank you david
posted 12 years ago
They didn't replace anything. As a general rule, "id" is used to refer to an already-declared variable. "var" is used in tags that store the variable themselves. You can always check the JSTL tag documentation if things are unclear.