1 Reply Latest reply on Oct 30, 2002 10:05 AM by waiken

    Checking if a jsp-page is requested via https

    markuspr

      Hi,

      is it possible to check if https is used by the browser to get a jsp-page?
      I've added a new HttpConnector to the tomcat4-service.xml to get https-connections available. But now you can get all jsp-pages via https or http and this doesn't seem to make much sense.
      So I want to control if a jsp-page has the be recieved via https or http. I want to do this by checking in every page which mode has been used and then printing out an error if necessary. But how is it possible to get the mode?
      Perhaps there is another solution for my problem...

      Thanks for your answers,
      Markus