On Thu, Oct 25, 2012 at 4:57 PM, Paolo <[email protected]> wrote:
> Hi,
> I know that it is an old discussion,
> but I really want the url simply and clear, without ;jsessionid= and without 
> ?1  ?2 etc.

1) make sure cookies are enabled - jsessionid is gone
2) make sure your pages are stateless - ?2 is gone

Voila!

> I am starting to upgrade to wichet 6.2.0
> actually I use this in MainApplication:
>
>     protected void init()
>     {
>         super.init();
>         SecurePackageResourceGuard guard = new SecurePackageResourceGuard();
>                 guard.addPattern("+**.gif");
>                 guard.addPattern("+*.*");
>                 guard.addPattern("+*.gi*");
>                 guard.addPattern("+test*.gif");
>         getResourceSettings().setPackageResourceGuard(guard);
>         //getDebugSettings().setDevelopmentUtilitiesEnabled(true);
>         // mountPage("home.html", HomePage.class);
>         // mountPage("/", HomePage.class);
>         mountPage("search", Search.class);
>         mountPage("products", Products.class);
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to