Solved

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

Posted on 2011-02-18
3
1,096 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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 purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

730 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