紧急求救jsp
在一个jsp页中 定义了一个类ground
并建立其对象newground 并赋值 然后session.puValue("name",newground)
在其他页面中 如何得到它???
我在其他页 也定义了相同类ground 建立对象newg
然后
无论是
newg = (ground)session.getValue("name");
还是
tmp = (Object)session.getValue("name");
newg=tmp
都是java.lang.ClassCastException