3:51 am - Monday June 25, 2018

Tag Archives: with

JDBC with different database

Sample JDBC program using MySQL

JSON Array With JSP

Project Structure:              JARFiles:        JSONArrayJsp.jsp: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import="org.json.JSONArray,org.json.JSONException"%> <!DOCTYPE...

JSON Object With JSP

Project Structure: JARFiles:        JSONObjectJsp.jsp: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" import="org.json.JSONObject,org.json.JSONException,java.util.*"%> <!DOCTYPE...

JSON Array With Servlet

ProjectStructure:                    JarFiles:         Array.java: package com.candidjava; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import...

JSON Object With Servlet

ProjectStructure:                   JarFiles:          JObject.java: package com.candidjava; import java.io.IOException; import java.io.PrintWriter; import java.util.Iterator; import javax.servlet.ServletException; ...

JSON Array With JavaScript

Project Structure:             JsonArrayJs.html: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <h1>This is JSON Example</h1> <script...

JSON Object With JavaScript

Project Structure:             JSONObjectJs.html: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <h1>This is JSON Example</h1> <script...

JSON Tokener With JAVA

JSONTokener: JSONTokener class allows an application to break a string into tokens. Methods: next – This method returns a character next to current position. back – It moves cursor one position back. more – It returns true if the token...

JSON Array With JAVA

JsonArray: JSONArray holds values. It is an ordered value. It supports any data types (Boolean,Number,JSONArray,JSONObject,String). Syntax: JSONArray array=new JSONArray(); array.put("value"); Another Format: Its external form is...

JSON With java

JSON + JAVA + Object   

JSON Object With JAVA

JsonObject: Json object holds key and value pairs. It is an unordered collection of key and value pairs. Key and values are separated by commas. It supports any type of values (numeric, string, object, etc) Syntax: JSONObject object=new JSONObject();</pre> object.put("key","value"); Another...

Page Directive isELIgnored

Page Directive errorPage and isErrorPage tutorial

Page Directive ContentType tutorial

Page Directive info tutorial

Page Directive isThreadSafe tutorial

Page Directive autoflush tutorial

Page Directive buffer tutorial

Page Directive session tutorial