I use to pass data between *.java and *.jsp, since this is a MVC framework, it will go by the *.java first. so i used request.getSession().setAttribute("test", "01010101010") to save the value, and then in *.jsp, use request.getSession().getAttribute("test") to get value.
But it returns a strange string "682342348" all the time.
what's UP?????
hooligan2008 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Cort3z 0 Junior Poster in Training
c_blimey 0 Newbie Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.