[vtkusers] Java servlet + Glassfish + volume rendering applications problem
chasank
chasank at gmail.com
Fri Jan 9 04:17:49 EST 2015
Hi,
Where do you store your vtk instances? If they are instantiated inside of
any method such as doGet. First request should work well as accepted.
However at the second request your object's references will be changed. I
suggest you to store all vtk instances including vtkImageData which store
the source image in a web session scope. In other words. User logins with
his account credentials to your web server and uploads source image data,
from now on you are responsible to keep alive all vtk instances until user's
web session ends.
Best regards.
--
View this message in context: http://vtk.1045678.n5.nabble.com/Java-servlet-Glassfish-volume-rendering-applications-problem-tp5730017p5730042.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list