Skip to main content

etable using a jsp file as service

3 replies [Last post]
marnold
Offline
Joined: 2007-05-15
Points: 0

I am trying to use a jsp file as a service to load data into an etable. My jMaki etable:

I generate data using my data.jsp file and the data will not load. I am using database calls to grab the data and jsp to generate the JSON syntax.

If I load data.jsp in my browser and copy and paste the generated data into a new file and the generated data will load into an etable.

Any Suggestions?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mk_hh
Offline
Joined: 2007-06-26
Points: 0

I think the "/" makes the problem. Try to use without "/", just

kjambor
Offline
Joined: 2004-04-19
Points: 0

Hi,

I have the same issue. The same jsp used as service works fine with Yahoo table widget.

Regards,

-- Kamyar

gmurray71
Offline
Joined: 2003-07-31
Points: 0

Hi,

This should work as we have other examples that do this.

Could you try this with the dojo.table just to confirm? There is also yahoo.dataTable which should also work.

Also if possible could you email me the generated data (gregory.murray at sun.com)?

We will try to post a jmaki example that we created that does what you are trying to do soon.

thanks,

Greg