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
1 answer

problem with DWR integration in spring?

Actually this is not, how can we integrate DWR and all that. But actually the problem is i am using xmlns:dwr="http://www.directwebremoting.org/schema/spring-dwr" and few hours back 'http://www.directwebremoting.org' was down, so i was unable to…
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214
0
votes
1 answer

Getting HttpServletRequest in DWR and in Spring application

I am wondering what is the correct way of getting HttpServletRequest object in DWR and in Spring Application - I am trying to do as follows: private HttpServletRequest getRequest() { ServletRequestAttributes servletAttributes = …
Vojtěch
  • 11,312
  • 31
  • 103
  • 173
0
votes
1 answer

what is Orbited?

from my understanding obited can do both comet and xmpp ? it is better than using typical comet library dwr right?
cometta
  • 35,071
  • 77
  • 215
  • 324
0
votes
1 answer

how to make consecutive DWR calls within sub process

Hi i want to make nested dwr call. In my java code i have two function public String getNetworks() { // return some networks. } public String getInternalNetwork(network) { // return some networks. } I want to make a chained dwr call.…
Chun ping Wang
  • 3,879
  • 12
  • 42
  • 53
0
votes
1 answer

Get I18N String in pure js

I am using Direct Web Remoting on Struts framework to show some I18N values. For Example, >File name = Test.js function test() { DWRutil.getMyAlert("i18n.test.javascript.alert",function(str){ alert(str); }); } In DWRUtil's getMyAlert method return…
user2053420
0
votes
2 answers

jquery object does not support property or method

I am getting error "object does not support property or method" on IE 8 with jquery 1.8 on the following jQuery(".errorContents"); I am using DWR along with jQuery in my project and also added $.noConflict(); but keep getting the above mentioned…
Prince Charming
  • 401
  • 4
  • 19
0
votes
1 answer

DWR Servlet Exception: NumberFormatException

I followed the quick steps to configure DWR in my web application (http://directwebremoting.org/dwr/introduction/getting-started.html). When the setup phase ends and I try to access my "localhost:8080/[myAppPath]/dwr/", a NumberFormatException is…
Breno Inojosa
  • 602
  • 1
  • 10
  • 20
0
votes
1 answer

DWR return object from server who to accept it in javascript code

i have a class mymessage in which to feilds of string type whose getter and setter are also present in class.in mymessage class their is a method name getdata in this method i m setting the string by calling setmethod of the string and return the…
user1175106
  • 89
  • 2
  • 9
0
votes
1 answer

DOM Elements created in JavaScript function disappear after function returned

I have a dropdown list with multiple selections allowed. A user selects from the list and then clicks the submit button with an onclick=test() which calls a JS function. I am using Jsp pages, and this is a Spring MVC framework project with DWR for…
Lin Ahmad
  • 1
  • 1
0
votes
0 answers

dwr send data to particular client only

I have tried the dwr sample chat app, I think the code below sends data to all connected clients. Collection pages = wctx.getScriptSessionsByPage(currentPage); for (Iterator it = pages.iterator(); it.hasNext();) { ScriptSession…
user1573319
  • 69
  • 3
  • 10
0
votes
1 answer

Dwr issues on latest browser version like firefox 16+

i wrote the java application making use of DWR to filter and populate some filds eg continent to countries, the application works fine with Firefox 14 but when i do upgrade my Firefox version it does not work also on google chrome it doesnt…
mwendamseke
  • 269
  • 2
  • 5
0
votes
2 answers

JS target doesn't work ie 8

I have this code, where data is DWR object that contains rows from response servlet. img.onclick works using IE9 but I need that it works on IE8 too. Some idea? Thanks! function functionA(data){ var getPrintCred = function(data) { …
0
votes
2 answers

How do I map DWR 3 properly using Spring MVC?

I'm trying to integrate Spring 3.1.1.RELEASE with DWR 3 (v 3.0.0-rc2). I'm using Spring MVC but am not able to get the setup to work properly. Spring isn't able to map /dwr/engine.js (or anything else with /dwr properly. I get this error in my…
Dave
  • 15,639
  • 133
  • 442
  • 830
0
votes
0 answers

Alternatives to WebContext.forwardToString()

The problem sounds like this : In my application i must get off java DWR technologies.So it will be basically more jquery.:) Now i'm trying to find a way to replace WebContext.forwardToString() Does somebody knows a way to…
ciker001
  • 57
  • 2
  • 5
0
votes
1 answer

Problem with DWR and Android-Browser

I am experiencing a problem with accessing an application from the Android-browser. The application uses DWR to persist connections to the clients that are connected with it. Everything works fine for me, except that if the application does not send…
moxn
  • 1,790
  • 1
  • 15
  • 34
1 2 3
21
22