• Post Reply Bookmark Topic Watch Topic
  • New Topic

CGI Env Variable

 
Anil Kurian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to retrieve CGI environment Variables inside the Servlet/JSP.
Specifically the variable which tells about the requesting browsers encryption level.
What I am trying to do is to determine the encryption level of the browser, wether the browser supports 40 or 128 bit encryption.
Any help will be appreciated.
Anil Kurian
anil.kurian@mailcity.com
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For an example of retrieving data from the request headers, see the SnoopServlet that is a common example in Tomcat and other servlet engine packages.
See the documentation for ServletRequest and HttpServletRequest for methods to get specific data from the request.
Bill
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!