Solved

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

Posted on 2011-02-18
3
1,078 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
countHi2 challenge 7 56
word0 challenge 4 69
hibernate example for saving data 19 43
eclipse buid path vs tomcat lib path 10 24
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
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 …
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.

832 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