I wrote a zimlet to upload, convert a show a video file.

In the development machine it takes few second and it is ok, but in the production machine the process takes minutes, so some kind of feedback is necessary in order to tell the user the serve is still alive.

After a long, looong, thinking, I came out with this solution.

The form with the file to upload has an "onClick" traps that when the user submits the form to a jsp StoreinDB page, opens a jsp popup with a status that reload itself every 5 seconds.

The StoreinDB write in the
httpSession
the info for the popup.

If the jsp in the popup doesn't find any info in the session it displays "not available".

But I have an error in the popup, it looks like
Code:
[...]
<%@ page import="javax.servlet.http.*" %>
[...]
HttpSession session = request.getSession();
that, despite my import, "HttpSession" isn't recognized.

How can a zimlet access to a session?

Thanks