The other day, I was working on JSP & an Action file on my project in office, and suddenly I got stuck when I wanted to initialize a variable I was using in JQuery code with the value of session variable. I had used it earlier in some other JSP, but then some how it skipped my mind.
So I thought of sharing the same here, if it might be of any help.
So I thought of sharing the same here, if it might be of any help.
<%= session.getAttribute("variableName")%>
hope it helps...
0 comments:
Post a Comment