[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1201
  • Last Modified:

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

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
Adwait Chitaley
Asked:
Adwait Chitaley
  • 2
2 Solutions
 
kommuCommented:
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
 
Adwait ChitaleyAuthor Commented:
@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
 
Adwait ChitaleyAuthor Commented:
I have found a way to avoid using json. However, your answer was well leading.
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now