Hello All,
the case is as follows:
I have a controller that is supposed to clone virtual machines. However, I do not know how to inject the user session cookie and URL within the controller constructor from HTML part. I have not seen an example so far that acquires these two parameters with javascript and HTML bridge. I dont want to use an adapter for this because the whole my logic is based on requests and responses. I have tried to define the controller as follows:
<bean name="createVMController" class="com.controller.CreateVMController"> | ||
<constructor-arg ref="userSessionService"/> | ||
</bean> |