S
Steve Peake
I'm having a problem with get/setAttribute, I'm just doing:
a.jsp
String s_params = request.getParameter("PP");
session.setAttribute("PARAM_IN", s_params);
b.jsp
String passed_param= (String) session.getAttribute("PARAM_IN");
This always returns null in b.jsp. Chnaging the getParam line to :
String s_params = "anything";
works fine, so I'm guessing I'm not creating a new string correctly, but I
cannot find the correct method to do this. Any clues here?
Cheers
Steve
a.jsp
String s_params = request.getParameter("PP");
session.setAttribute("PARAM_IN", s_params);
b.jsp
String passed_param= (String) session.getAttribute("PARAM_IN");
This always returns null in b.jsp. Chnaging the getParam line to :
String s_params = "anything";
works fine, so I'm guessing I'm not creating a new string correctly, but I
cannot find the correct method to do this. Any clues here?
Cheers
Steve