on 07-13-2015 2:56 PM
Hello experts,
I have a J2EE web application deployed to a SAP Netweaver Portal 7.3. The application have been working very well till our customer decided to support HTTPS on their portal. Thus If I try to call my servlet just prepending https instead of http I get a timeout error.
Is there a way to accomplish this?
Thank you very much,
-
Andrea
I would guess protocol shouldnt matter, unless you are using SSL / plain HTTP specific directives. What have you done regarding the troubleshooting already? What are the results?
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lawrence,
Thank you for replying. I've performed some tests so far, and I found that even calling my servlets on https, they are invoked on http. In my point of view this could be an architectural issue generated by load balancing and/or SSL offloading mechanisms put in place by our customer.
I'll check it in more detail and I'll come back on this thread to report a solution, if any.
cheers,
-
Andrea
Hello guys,
I finally managed to solve this. The problem was that my servlets performed redirections against JSP resources in order to fulfil requests. The result of redirections is a complete rewrite of the original URL with the URL of the redirection target. In my case this mechanism also changed the protocol from https to http. I solved by using forward instead.
-Redirect approach-
response.sendRedirect("path to resource");
-Forward approach-
RequestDispatcher dispatcher = request.getRequestDispatcher("path to resource");
dispatcher.forward(request, response);
I hope this could help someone else,
Cheers,
--
Andrea
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.