Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dwr WebContextFactory returning null

Posted on 2008-06-25
1
Medium Priority
?
993 Views
Last Modified: 2008-06-26
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?
0
Comment
Question by:medgington
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
shaz_ earned 2000 total points
ID: 21863822
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

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question