Pedro Rodrigo Cardiel wrote:
Hello,
I have a servlet that dynamically built content text / javascript in a
balancer with Apache and mod_jk, but this does not generate the
JSESSIONID cookie so that the next request is not sent me the same
machine and my application does not work.
If I create a jsp with a hello world, the JSESSIONID cookie is created
successfully.
Is there any way to tell tomcat to generate a session but asked static
content?
Since you have a servlet you have dynamic, not static content.
Use response.getSession() to create one.
--
Mikolaj Rydzewski <m...@ceti.pl>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org