Solved

Display JSON Data in JSP - Struts Framework - By Avoiding JQuery

Posted on 2011-02-18
3
1,070 Views
Last Modified: 2012-05-11
We are currently developing a Web Application on Struts 1.2.9 framework.

It is required therein that data available in JSON format be rendered in the form of a report. However, it is desired that Javascript be avoided and the data be rendered and routed through Beans on JSP Page.

How is this doable?

Thanks in advance
0
Comment
Question by:achitaley
  • 2
3 Comments
 
LVL 1

Assisted Solution

by:kommu
kommu earned 500 total points
ID: 34925900
JSON.org has provided libraries to create/parse JSON data through Java code. These libraries can be used in any Java/J2EE project including Servlet, Struts, JSF, JSP etc and JSON data can be created.

0
 

Accepted Solution

by:
achitaley earned 0 total points
ID: 34926108
@kommu - I do not intend to create JSON data and display it on page.

I need to USE JSON data from a datasource and use it to display it in report format from JSP using Beans. This I want to do to avoid any client side coding using tools like.. jquery's jtemplate etc. which exposes a portion of code.
0
 

Author Closing Comment

by:achitaley
ID: 36293528
I have found a way to avoid using json. However, your answer was well leading.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert BufferedReader to File 1 75
pairs challenge 5 64
egit plugin on eclipse 8 37
eclipse with Angularjs2.0 3 17
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now