mrj Posted November 14, 2017 Posted November 14, 2017 Hi,I am new at JSP. My problem is when I run a JSP page on non-secure connection it works well. But when I access same file via HTTPS it doesn't execute. It just shows JSP code as plain text. Can anyone help? here is example:http://atoz.ml/java/date.jsphttps://atoz.ml/java/date.jsp Quote
wolstech Posted November 14, 2017 Posted November 14, 2017 We don’t provide Java on secure connections by default for resource reasons, so this is normal. We can enable support for it over SSL for you, but I believe you lose the insecure access if we do. Quote
mrj Posted November 14, 2017 Author Posted November 14, 2017 Why only one option? Why only secure or non-secure method? Can you explain please? Quote
Krydos Posted November 14, 2017 Posted November 14, 2017 for resource reasons,For each user that has java enabled it increases the total server resources required. For each user that has http and https enabled it takes double. We can support two users on http or one user with https and http. In order to enable https and http for you it would basically prevent another user from having java at all. Quote
mrj Posted November 14, 2017 Author Posted November 14, 2017 Oh, now I got it. That's mean if anyone access JSP pages with another protocol than supported they will be able to see the source code. So I will need to make sure that all request to JSP files need to be routed to supported protocol. Is it the possible solution? If yes, then please enable support for SSL. Thanks a lot. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.