Questions tagged [dwr]

DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible.

DWR: Easy Ajax for Java

DWR is an RPC library which makes it easy to call Java functions from JavaScript and to call JavaScript functions from Java (AKA Reverse Ajax).

It has a large user-base, active mailing list and has been used in many projects including the Walmart shopping site and American Airlines flight booking site.

DWR has a number of features like call batching, marshalling of virtually any data-structure between Java and JavaScript (including binary file uploading and downloading), exception handling, advanced CSRF protection and deep integration with several Java server-side technologies like Spring and Guice.

More Information:

Books:

329 questions
0
votes
2 answers

DWR/OpenSessionInView "Session is Closed!" in Java and Hibernate

They say that a closed session in hibernate and webapp with ajax is a common problem with java and spring so I have to set the OpenSessionInViewInFilter in the web.xml like this
Eugene Ramirez
  • 3,053
  • 2
  • 23
  • 17
0
votes
1 answer

Installing current version of DWR via Maven

I checked out current SVN Snapshot of DWR (3.0.0-rc3-SNAPSHOT) and I am unable to mvn install it - the pom.xml seem to be configured not for such command. What is the correct way of installing DWR into maven repo? I also tried copying files from…
Vojtěch
  • 11,312
  • 31
  • 103
  • 173
0
votes
1 answer

dwr log error handler

when i log in into my webapp dwr start their execution, and after that make this error log: 18-11-2009 12:09:13 [http-8080-Processor24] ERROR org.directwebremoting.util.LogErrorHandler - Line=7 Element type "filter" must be declared. 18-11-2009…
Tommaso Taruffi
  • 8,932
  • 9
  • 44
  • 56
0
votes
1 answer

Refeshring JSP page in Javascript

I am trying to refresh the JSP page after certain operations, I am using DWR to be able to use my classes in Javascripts in the JSP files so I have this code: function removeDN(numplanindex){ DBOps.removeDN(numplanindex); …
laitha0
  • 4,148
  • 11
  • 33
  • 49
0
votes
1 answer

DWR converter for String

I use DWR to fetch value from DB. So far I have been using facade as return value and hence i gave like
sahana
  • 601
  • 5
  • 12
  • 33
0
votes
0 answers

DWR instantiate a class every time a method is called

I am trying to pass an arraylist that will be populated in method A of Class X and tehn I want to use teh same arraylist in method B of the same class. But since I am using DWR to access my java classes from JavaScripts, every time I am calling a…
laitha0
  • 4,148
  • 11
  • 33
  • 49
0
votes
0 answers

Handling DWR calls

I have a web application. I am using dwr configuration for server calls. But I noticed one thing that always the first dwr call to the server in a page taking long time to get response. I observed it by using IE network tool. The first call takes…
skmaran.nr.iras
  • 8,152
  • 28
  • 81
  • 116
0
votes
2 answers

passing values from drop down list and text box to JavaScript in JSP

I am trying to pass two values to a JavaScript one that I obtain from a dropdown list, and the other one is user specified from a text box, I have the following in my JSP file: