Community
Participate
Working Groups
Build Identifier: rap-runtime-1.5.0-M1-20110816-0926 see: http://www.eclipse.org/forums/index.php/mv/msg/238854/722900/#msg_722900 Two different behaviors of RAP 1.4 und 1.5 M1. 1) There is code snippet below. ServletContext sc = RWT.getRequest().getSession().getServletContext(); System.out.println("<<<>>> RealPath /WEB-INF: " + sc.getRealPath("/WEB-INF")); System.out.println("<<<>>> RealPath /: " + sc.getRealPath("/")); After deploying in Tomcat the console shows the following: --> RAP 1.4 <<<>>> RealPath /WEB-INF: ...\tomcat\webapps\test14\WEB-INF <<<>>> RealPath /: ...\tomcat\webapps\test14\ --> RAP 1.5 M1 <<<>>> RealPath /WEB-INF: .../tomcat/work/Catalina/localhost/test15/eclipse/workspace/.metadata/.plugins/org.eclipse.rap.ui/context/WEB-INF <<<>>> RealPath /: .../tomcat/work/Catalina/localhost/test15/eclipse/workspace/.metadata/.plugins/org.eclipse.rap.ui/context/ 2) Trying to implement security like shown in http;//wiki.eclipse.org/RAP/Equinox_Security_Integration. In RAP 1.4 the application continues starting after pressing the Login-button, in 1.5 the dialog disappears and nothing more happens. Reproducible: Always Steps to Reproduce: Creating and deploying war file on Tomcat with different RAP versions
This is a duplicate of bug 359388 *** This bug has been marked as a duplicate of bug 359388 ***