Free Online Programming Tutorials

Let’s Learn Web Programming!





Archive for the ‘JSP’ Category

< html >
< body >
< %! String name = new String(“freeonlineprogrammingtutorials.com”); % >
< %! public String getName() { return name;} % >
Hello < B > < %=getName() % > < /B >
< /body >
< /html >

Alternative Syntax
Read the rest of this entry »

Advantages of JSP

Jun-6-2009 By

Follwing are the primary advantages of JSP -

• Separation of static from dynamic content:

• Write Once Run Anywhere:

• Dynamic content can be served in a variety of formats:

• Completely leverages the Servlet API:

• JSP makes it easier to write HTML

• Easy to read and maintain the HTML

• Use standard HTML tools such as Macromedia DreamWeaver or Adobe GoLive.

• Have different members of your team do the HTML layout than do the Java programming

• Separate the (Java) code that creates the content from the (HTML) code that presents it

What is a JSP Page?

Jun-5-2009 By

• JSP (Java Server Pages) is a technology based on the Java language and enables the development of dynamic web sites.

• JSP was developed by Sun Microsystems to allow server side development.

• JSP files are HTML files with special Tags containing Java source code that provide the dynamic content.

• JSP is easy to learn and allows developers to quickly produce web sites and applications in an open and standard way

• JSP provides a way to separate business logic from presentation.

• JSP offers a robust platform for web development -

Characteristics of JSP-

1. Multi platform
2. Component reuse by using JavaBeans and EJB.
3. Separation of content from code
4. You can take one JSP file and move it to another platform, web server or JSP Servlet engine.