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
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.
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?
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.
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now