Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Display server variables

843836Apr 28 2004 — edited Apr 29 2004
I am new to JSP. I used this code in asp to display all server side variables. how can I do the same thing in JSP?

For Each var in Request.ServerVariables
Response.Write var & " : " & Request.ServerVariables(var) & "<br>" & vbCrLf
Next
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2004
Added on Apr 28 2004
3 comments
151 views