Quantcast
Channel: SCN: Message List - SAP Enterprise Portal : Administration and Development
Viewing all articles
Browse latest Browse all 1661

Re: Use J2EE Web Module over HTTPS in SAP Portal

$
0
0

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


Viewing all articles
Browse latest Browse all 1661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>