...请问session.getValue是什么东西...
呵呵,有漏写了

解决方案 »

  1.   

    String User_id=session.getValue("user_id").toString();
    这问题我碰到过,肯定没错的
      

  2.   

    Currently, HTTP servers respond to each client request without relating that request to previous or subsequent requests; the technique allows clients and servers that wish to exchange state information to place HTTP requests and responses within a larger context, which we term a "session" . ---RFC2109Session中可以存放任何的对象,putValue(Sting,Object),将Object以String为Key存入Session中,因此getValue()返回Object