No Image

Javascript onclick Jsp call

February 16, 2013 Mirthbees 0

Program: Input.jsp   <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Javadomain.in</title> </head> […]

739 total views, no views today

No Image

Javascript trim function example

February 13, 2013 Mirthbees 0

Javascript trim function program and the screenshot of the output is given below, Program: <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta […]

642 total views, no views today

No Image

Javascript window.open example program

January 22, 2013 Mirthbees 0

Program:   <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Javadomain Window.open Example</title> […]

710 total views, no views today

No Image

Passing values to popup window

January 22, 2013 Mirthbees 0

Program: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Javadomain Window.open Example</title> </head> […]

591 total views, no views today

No Image

Dynamic script import in Javascript

January 12, 2013 Mirthbees 0

Step 1:Create a file named javadomain.js and paste the below code, functiononclickJava(){ document.writeln(“My domain is java”); }   Step 2:Create a file named dotnetdomain.js and paste the below code, […]

677 total views, no views today

No Image

Auto Refresh in All Browsers

November 29, 2012 Mirthbees 0

If you use, <% response.addHeader(“Refresh”,”4;account.jsp”); %> in jsp page, the page will be redirected to account.jsp from the current page after 4 seconds. Note: The […]

618 total views, 1 views today