Friday, June 22, 2018

How to access JSTL variable in Scriptlets

Sometimes we have a situation in which we need to access JSTL in our scriptlets. Today we will solve this problem. Here i need to call a simple method greetUser that take screen name as a argument.

When we try to access this we have the errors like:-

For solving this situation we first put the screenName in pageContext using c:set and then use this to call out method.

Hope this will Help....

Related Post:-

No comments:

Post a Comment

Total Pageviews

Number Of Unique Visitor

Free counters!