views:

26

answers:

1

How is this done? I have a view which in certain conditions I need to display using HTTP and in other cases HTTPS. The controller is using SimpleFormController.

A: 

The controller doesn't care about the protocol. Simply make the links / form targets in your .jsp to point to https://site.com/context/controller and it will work (provided your have successfully setup https of the servlet container)

Bozho
yeah that makes sense
stevebot