This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all.. I don't know whether I am posting in the right forum or not. From whatever I searched in net I thought I have a problem related to portlets , hence posting here. I have a portal where Struts and Portlets are being used. I have a requirement in which there is a button in the page clicking on which I should redirect to another sever(For ex www.google.som) . After clicking on the button I call an action which inturn call various methods. In one of the methods I need to check for some conditions and based on that I need to redirect to another server. Here for redirection I am using the following code.
But after this line I am getting an exception as below.
When I tried to search in net I found out that sendRedirect cannot be called after invoking methods like
So I want to know whether this is the cause of the exception or not. If yes then how to overcome it.
PS : Because of violations I can neither post the code nor the complete logs over here.