Advertisement
Advertisement
| 07.16.2008 at 08:48AM PDT, ID: 23570135 | Points: 125 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: |
Map map = new HashMap();
Object obj = new Object();
String str = request.getParameter("data");
obj = (Object)str;
map = (HashMap) obj; // line 10
No compile time errors, but while running its giving
"javax.servlet.ServletException: java.lang.ClassCastException: java.lang.String" ---> indicating toward line number 10
|