?
Solved

Dwr WebContextFactory returning null

Posted on 2008-06-25
1
Medium Priority
?
978 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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