Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Right-Click option doesn't work in JDEV/VM

User_7CBN3Oct 26 2022

On my VM, with details as furnished below, whenever I try the option to click Right Click through either keyboard on MAC or mouse (MAC: CTRL + Click), on my JDEV; it just doesn't work. Are there other alternatives that I could use. Let me know
VM: phoenix119580.ad1.fusionappsdphx1.oraclevcn.com

Comments

800913
You could try adding the following to your Filter class:
import javax.servlet.http.HttpServletResponse;
 
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
   throws IOException, ServletException
{
   try 
   {
      HttpServletResponse httpResponse = (HttpServletResponse) response;
 
      // prevent web browser from caching page's content
      httpResponse.setHeader("Pragma", "no-cache"); // HTTP 1.0
      httpResponse.setHeader("Cache-Control", "private, no-store, no-cache, must-revalidate, max-stale=0"); // HTTP 1.1
      httpResponse.addHeader("Cache-Control", "post-check=0, pre-check=0"); // IE's HTTP 1.1
      httpResponse.setDateHeader("Expires", 0); // prevents caching at proxy server
   } 
   catch (Exception e) {
      // log your filter's errors here
   }
}  
843844
Anyone know if it is possible to redirect the user to a page which holds information that the user have to "use the navigation buttons on the page" when the user clicks the browser button? (And how would we do that?)
1 - 2

Post Details

Added on Oct 26 2022
1 comment
429 views