Clear tutorials for code developers.


Glassfish

How to get rid of jsessionid postfix in URLs in a Glassfish application

Solution for a situation when there is no cookie for an URL presented on a page

Glassfishweb

In a situation while a session is created, when there is no cookie for an URL presented on a page, Glassfish and other web servers add a jsessionid=4ac... etc. postfix. The postfix disappears when the cookie exists. You can get rid of jsessionid path fragment in URL by adding to the web.xml descriptor the following:


zBLOGowani.pl