Solved

Dwr WebContextFactory returning null

Posted on 2008-06-25
1
966 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 500 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 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

724 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