| Author |
Request Parameter are case sensitive or not ?
|
hasan khan
Ranch Hand
Joined: Aug 04, 2003
Posts: 222
|
|
I my country.jsp i have the following code when i call my jsp http://localhost:8080/test/country.jsp?country=india it prints india but when i call my jsp http://localhost:8080/test/country.jsp?COUNTRY=india it prints null why ? i believe in both the case it should not print null it should print india http://localhost:8080/test/country.jsp?INDIA=india
|
 |
hasan khan
Ranch Hand
Joined: Aug 04, 2003
Posts: 222
|
|
please ignore the last line of the above question http://localhost:8080/test/country.jsp?INDIA=india
|
 |
Alex Sharkoff
Ranch Hand
Joined: Apr 11, 2004
Posts: 209
|
|
Hi hasaN, Yes, request parameters (and context/session/request attributes; and javax.servlet.ServletContext/javax.servlet.ServletConfig init parameters) are case sensitive. Hope it helps,  [ December 21, 2004: Message edited by: Alex Sharkoff ]
|
Alex (SCJP 1.4, SCBCD 1.3, SCWCD 1.4, SCJD 1.4)
|
 |
 |
|
|
subject: Request Parameter are case sensitive or not ?
|
|
|