FEATURED POST

WordPress Themes and Plugins Development

By admin  //  Wordpress  //  View Comments

We are living in the age of the World Wide Web. If people need a product or service, they no longer rummage through a hard copy of [...]

WordPress Themes and Plugins Development
Apr
30
By admin  //  View Comments

Java Beans & Forms

<HTML> <BODY> <FORM METHOD=POST ACTION=”SaveName.jsp”> What’s your name? <INPUT TYPE=TEXT NAME=username SIZE=20><BR> What’s your e-mail address? <INPUT TYPE=TEXT NAME=email SIZE=20><BR> What’s your age? <INPUT TYPE=TEXT NAME=age SIZE=4> [...]

Apr
30
By admin  //  View Comments

How to declare JSP

<%@ page import=”java.util.*” %> <HTML> <BODY> <%!     Date theDate = new Date();     Date getDate()     {         System.out.println( “In getDate() method” );         return theDate; [...]

Apr
30
By admin  //  View Comments

Using Scriptlets and HTML in jsp

<htmL> <body> <TABLE BORDER=2> <% int n=10; for ( int i = 0; i <n; i++ ) { %> <TR> <TD>Number</TD> <TD><%= i+1 %></TD> </TR> <% } [...]

Apr
30
By admin  //  View Comments

Using Scriptlets in JSP

JSP also allows you to write blocks of Java code inside the JSP. This block of code is known as a “scriptlet”.   A scriptlet contains Java code [...]

Apr
30
By admin  //  View Comments

Displaying current time in JSP

<HTML> <BODY> Hello!  The time is now <%= new java.util.Date() %> </BODY> </HTML>

Dec
13
By admin  //  View Comments

Packages in PL/SQL

CREATE OR REPLACE PACKAGE BODY emp_actions AS — body PROCEDURE hire_employee ( ename VARCHAR2, job VARCHAR2, mgr NUMBER, sal NUMBER, comm NUMBER, deptno NUMBER) IS BEGIN INSERT [...]

Dec
13
By admin  //  View Comments

Structure of PL/SQL Block

[<Block Header>] [DECLARE <constants> <variables> <Cursors> <user defined exceptions> ] BEGIN <PL/SQL Statements> [Exceptions <exception handlings>] END; BLOCK HEADER specifies whether the PL/SQL block is procedure, a [...]

Dec
13
By admin  //  View Comments

GOTO statement in PL/SQL

Example: IF result= ‘fail’ THEN GOTO fail_msg END IF; <<fail_msg>> Message (“Student is Failed’);

Dec
13
By admin  //  View Comments

While Loop in PL/SQL

Syntax: WHILE < Condition  true> LOOP <Statement> END LOOP; Example: DECLARE cnt NUMBER:=0; BEGIN WHILE cnt<=10 LOOP cnt:=cnt+1; Message (‘While loop executes); END LOOP; END;

Dec
13
By admin  //  View Comments

LOOP in PL/SQL

Syntax: LOOP statements END LOOP; Example: DECLARE cntr NUMBER :=0; BEGIN LOOP cntr :=cntr +1; IF cntr>100 THEN Dbms_Output.put_line (cntr); EXIT; END IF; END LOOP;

Namaste!

Hello! This is Nirmal Gyanwali, a freelance web developer from Kathmandu, Nepal. I am well versed with Open source CMS and portal frameworks like Joomla!, Wordpress, Drupal. If you're interested, you can contact me at info@nirmal.com.np.
Thanks!

Latest Tweets

  • @nirmalgyanwali : La hai hamro bro ko ajai pargati hudai jawoos.....Harek Valentine ma next new n so on continue......... - posted on 15/02/2012 19:25:16