In Case You Missed It ... Shorter URLs

I guess that by now, many of you have read Shay´s entry about tips and techniques to shorter the URL of your ADF application. Also, some of you have read the data visualization and ADF faces new features on JDeveloper 11.1.2.2.0. Although, if you haven´t noticed it yet, the standard URL of ADF applications in this release is much shorter out-of-the-box.

In previous releases the URL of ADF applications contains various session parameters calculated on runtime and looks like this:

http://host:port/miapp/faces/page.jspx?_afrLoop=206714698081489&Adf-Window-Id=w0&_afrWindowMode=0&_adf.ctrl-state=169xq9qndn_3&_afrRedirect=206716586215058

If you run the same application in this release and you have a modern browser, notice that the URL looks now as: 

http://host:port/miapp/faces/page.jspx?jsf?_adf.ctrl-state=1a2s9a55x7_3

Why? Starting in this release the framework uses HTML5 History APIs by default when the application is displayed on modern browsers to store these parameters. Older browsers like IE8 will not have the internal parameters removed given that it doesn´t support this functionality.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
A blog that explores features, tips and tricks of ADF and JDeveloper by Juan Camilo Ruiz, Product Manager on the ADF and JDeveloper team
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today