I'm sure this is quite simple, but it defeats me.
I'm using:
String s_param = request.getParameter("PP");
Thats fine, and I can print s_param.
Then
session.setAttribute("S_PARAM_IN", "TEST");
That also fine, and I get get it later and print it, but
session.setAttribute("S_PARAM_IN", s_param);
combining the two fails, it always seems to be null. I assume I'm doing something fundamentally wrong with the string, but being a very new to java I just cannot see it. Anyone care to throw me a bone here?
Cheers
I'm using:
String s_param = request.getParameter("PP");
Thats fine, and I can print s_param.
Then
session.setAttribute("S_PARAM_IN", "TEST");
That also fine, and I get get it later and print it, but
session.setAttribute("S_PARAM_IN", s_param);
combining the two fails, it always seems to be null. I assume I'm doing something fundamentally wrong with the string, but being a very new to java I just cannot see it. Anyone care to throw me a bone here?
Cheers