January 30th, 2012, 03:10 AM
|
#4 (permalink)
|
|
Junior Member
Join Date: Jan 2012
Location: Brazil - Blumenau, SC
Posts: 69
Device(s): Motorola Defy - Gingerbread(2.3.3)
Thanks: 12
Thanked 5 Times in 4 Posts
|
Quote:
Originally Posted by krishnaveni
session.getAttribute('username');
|
You are using ', in Java, this is used for char, to strings is used ", same way you do in the SetAtribute.
Ex:
char c = 'A';
String s = "A";
|
|
|