File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Headers" Watch "Headers" New topic
Author

Headers

Vineela Devi
Ranch Hand

Joined: Dec 20, 2003
Posts: 191
Hi All,

In setHeader(String name,String value)is the name CaseSensitive?I mean to ask is response.setHeader("test","SCWCD") will be same as response.setHeader("TEST","SCWCD")?

Regards,
Vineela
Narendra Dhande
Ranch Hand

Joined: Dec 04, 2004
Posts: 950
Hi,

I do not think the headers are case sencetive. Both are the same.

Header names are not case sensitive, but are traditionally
written with the first letter of each word capitalized.

Thanks
[ November 17, 2005: Message edited by: Narendra Dhande ]

Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Headers
 
Similar Threads
SCWCD Exam Simulator
For SCWCD
Hints for SCWCD
SCWCD
SCWCD mock questions II