Solved

Dwr WebContextFactory returning null

Posted on 2008-06-25
1
932 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
1 Comment
 
LVL 3

Accepted Solution

by:
shaz_ earned 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
network + 7 73
array11 challenge 16 50
502 - Web server received an invalid response 4 32
Error viewing ASP page 12 71
Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now