Well that was an embarrassing post. I noted the following below the code at that site: There are 2 important pieces of configuration that will change based on your environment.
1. SSL Port: There is no way to determine the SSL port being used via the servlet spec API, so this needs to be set manually. Grab the SSL port from your configuration. (Or better yet, set it with Spring in your applicationContext.xml from a properties file) (The embarrassing part was suggesting using the request's URL to get the port when it is the port that needs to be changed based on the page type.) techisbest wrote: > > The information at this page: > http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html > > includes the following: > MyApplication.get().getHttpsPort() > > Does anyone know where this getHttpsPort method went? Or do I simply use > the WebRequest to get the URL and use that to get the port? > -- View this message in context: http://www.nabble.com/getHttpsPort-method-tp20964778p20964975.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
