HttpActorRef ha = getHttpActorRef(req.getSession());
if (ha == null) {
if (actorClassName != null) {
try {
ActorRef<WebMessage> actor = (ActorRef<WebMessage>) Actor.newActor(new ActorSpec(Class.forName(actorClassName), actorParams)).spawn();
attachWebActor(req.getSession(), actor);
ha = getHttpActorRef(req.getSession());
} catch (ClassNotFoundException ex) {
req.getServletContext().log("Unable to load actorClass: ", ex);
return;