Accessing query string from inside ConnectorServlet

Working Java version of the dhtmlxConnector:

I’ve extended the ConnectorServlet and have successfully built a tree connector (thank you Stanislav for the quick solution to my user data problem).

Now I would like to get a parameter from a query string being passed to the servlet. The configure method takes no parameters. I can see that ConnectorServlet extends HttpServlet and sets the http_request its doGet method.

I don’t seem to be able to find a way to access the request from within Configure() and I was hoping for a point in the right direction.

In latest version of connector you can create thread-safe servlets, which, as extra bonus, gives more simple access to the request object

docs.dhtmlx.com/doku.php?id=dhtm … ialization

In case of ConnectorServlet you can override doGet, store var from request in some property of object and call doGet of base class after that. So in configure method you will be able to access previously stored value.