| Author |
cannot resolve symbol
|
lee anthony
Ranch Hand
Joined: Jan 23, 2004
Posts: 35
|
|
i have problem while running my simple action class i need to set user name in my seeion but it is not allowing me do to so it throws errors wile compling LogonAction.java:73: cannot resolve symbol symbol : method setAttribute (java.lang.String,java.lang.String) location: interface javax.servlet.http.HttpSession vsessions.setAttribute("USER_NMAE", "lee");
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
|
The setAttribute method takes a String and Object respectively. i.e setAttribute(String, Object)
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
|
And a String is a very good example of an Object. The problem lies elsewhere.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: cannot resolve symbol
|
|
|