Login Register

servlet

Rendering the grid programaticaly and loading data into it through a json file created via a servlet

I want to render the grid such that the row and column headers are formed dynamically and also its contents are populated. The JSON object is available via a AJAX call. My aim is to create the grid with the help of this JSON object i get. What will be the right store to use ..eg. ItemFileReadStore,QuerryReadStore,..etc. I have to achieve this my calling the servlet only once in the AJAX call.

Here is my code

dojo11.addOnLoad(function(){

var jsonObject;

Upload a file from a form to a servlet using dojo

Hi everyone!.

First of all, sorry about my english :).

I really need your help. I'm deeply stuck doing a proyect, and I can't see the light at the end of de tunnel.

That's my problem:

I need to upload a XML file from the client to the server without refreshing the page. I have a servlet in the server side to manage this file, using the FileUpload class from Apache. Everything is j2ee, servlets, jsp... and of course, dojo.

xhrPost 1.0 doesn't work but .9 does

I am using websphere (application server 6)/ rad (7.0) ibm environment to develop portlets

I am trying to receive a string with an xhrPost. The string is a 2d array (and after i get this working i will want to send it to my grid code).... but that's after i get this working (hopefully you can help)

This exact code IS WORKING with .9 BUT NOT with 1.0

and it's extremely simple code.... (please let me know if it's working in your environment)

here's my post (i'll give you the full jsp below):

dojo.xhrPost( {

Syndicate content