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.
I use to pass data between *.java and *.jsp , since this is a
Share
This might be a javascript question now, try adding quotes around the value of the
alertparameter.Change this:
To this: