Java Server Pages

Java Server Page technology provides a simple, fast way to develop dynamic web applications.

In JSP you can create web pages to access Databases, Directories ...etc to generate a dynamic content.

JSP contains Custom tag option in order to reduce the amount of code you write in JSP page and write it in the Tag Handler which can be reusable.

JSP specification has the common used tag libraries to make it easier and easier to make the basic operations in java like loops, statement, expressions and even access your session and request object. This tag libraries is [JSTL|] (JSP Standard Tag Libraries)

__How JSP is working?__%%%
when you write a jsp Page the [Web Server] compile it and create a [Servlet] for this jsp page.

__How can i write a jsp page? __%%%
JSP pages is a web pages which combine JSP Scriptlet with HTML tags, so if you create a page .jsp and write your html tags the web server will compile it, then you can request your page with its name. If you would like to add any java code you can use the JSP scriptlet tags as follow:

Wiki Page:

Tag Library

*Create your class sub from Tag
*Create your tag definition in tld file
*Make JSP page
*include the Tag difinition
*use your tag


J2se Training



*JDBC Drivers
*Prepared Statement
*Connection Pool

Things changed my life

In my life there are many things which i think that they effect on my life, change my path.

When and Why


This article is a way of showing the bad use of the technologies, so it is about when to use the technology and why.
I will discuss the advantages of using the technologies and disadvantage of using it in a wrong way

If you want to kill ant, will you use scude missle?

So if you want to make a chat room will you use a J2ee architecture? will you make the bussines logic in a server side component "EJB" and deploy this in a j2ee container "Application Server"?

does it make sence to you?


About Reflection


Wiki Page:

How to install Java on linux?

In this article, you will learn how to install Java on Linux platforms.

*Download Java SDK from
**Click Download JDK 5.0 Update 6
**__Review__ then accept the license agreement
**download the "self-extracting file"

*Install Java SDK:
Open new shell
type su to login as root
$cd ''Download Directory''
$chmod +x jdk-1_5_0_06-linux-i586.bin
press enter till finish the agreement
and type y to start installation.
you will find it installed on /usr/java/jdk1.5.0_06

*set Java Environment Variables
{{{$vi /etc/profile }}}
press __i__ for insert
then insert those commands
export JAVA_HOME=/usr/java/jdk1.5.0_06
export PATH=$PATH:$JAVA_HOME/bin
then __wq__ for save \\
Replace the directory above with the correct directory according to your system.\\
''Note:'' You will need to logout or reboot depending on your system
*Test Java version
If you want to know the current java version type

Wiki Page:


We will organize some J2ME training and sessions.


Subscribe to Front page feed