Dwr WebContextFactory returning null

Working on a spring webapp, wanted to use dwr with it.. but for some odd reason WebContextFactory.get() keeps returning a anull WebContext ... and i cant do the whole .forwardToString("xx");... ive used dwr before in a similar fashion not too long ago in another prj and it was all well.. but for some reason it keeps returning null here... ive tried everything i could think of but to no fruit.. any suggestions as to why its returning null would be highly appreciated?
LVL 1
medgingtonAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
shaz_Connect With a Mentor Commented:
umm are u  calling the method where ure doing this webcontextfactory.get() from a dwr all.. i.e. the current thread has to be started by dwr for the webcontextfactory to return a value....
0
All Courses

From novice to tech pro — start learning today.