Hi,my problem is attribute onclick in tag a.I want to do scriplet command in attribute onclick.When I write this...
<a href="somethig" onclick="session.setAttribute('newAttribute','value')" >Click on me</a>
...so nothing happens (session's attribute is not set), and if I write this one
<a href="somethig" onclick="<% session.setAttribute('newAttribute','value'); %>" >Click on me</a>
so, session's attribute is set now (not when I clik on it).
(Sorry for my english, I'm beginner :)