We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce4bae0 commit 3a783d3Copy full SHA for 3a783d3
README.md
@@ -86,8 +86,9 @@ To access application namespace just pass an attribute name:
86
...
87
@RequestMapping("uri")
88
public void doSomething(HttpSession session) {
89
- session.setAttribute("name", "value");
90
- session.getAttribute("name");
+ String attributeName = "name";
+ session.setAttribute(attributeName, "value");
91
+ session.getAttribute(attributeName);
92
93
}
94
```
0 commit comments