answersLogoWhite

0

A JSP File Contents:

A JSP file can contain the following:

a. HTML contents

b. JavaScript

c. Java Code

Combining the features of the above 3 mentioned items; we get a powerful entity called the JSP. JSPs are used for the User Interface layer or the more colloquially called Front End layer of any J2EE application.

JSP Skeleton

Below is how a Skeleton JSP File would look like. (The file has to be saved as .jsp)

// Page Imports

<%@ page import = "com.xyz.ClassName %>

// Tag Library References

<%@ taglib URI = "path to Taglib file" prefix = "xx" %>

// here xx refers to the prefix with which the tag library will be referred to

// HTML Head & Title Content

// Java Script Content

// HTML Body & Form Contents

Note: Java code can be placed within the <% %> tags in the body part of the JSP page within the Body tags.

As you can see, a JSP file is pretty straightforward. Also, an important point to note here is the fact that, not all of the entities mentioned above are mandatory. You can include or exclude any of the entities mentioned above, based on your requirement and convenience.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Basic Math
Related Questions

What are jsp actions?

JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: &lt; jsp : include / &gt; &lt; jsp : forward / &gt; &lt; jsp : plugin / &gt; &lt; jsp : usebean / &gt; &lt; jsp : setProperty / &gt; &lt; jsp : getProperty / &gt;


What is the relationship between JSP and JDBC?

There is no other relation apart from having Java in their names. JSP is a technology that is used to create powerful User Interface components whereas JDBC is a technology that is used to connect to Relational Databases like Oracle or Sybase


What is acronym of jsp?

JSP stands for Java Server Pages


How to Update data from jsp into database?

can i get update coding in jsp??


When was JSP Records created?

JSP Records was created in 1978.


What is full from JSP?

JSP stands for Java Server Pages


What does jsp mean?

jsp means Java Server Pages.


Which is the website for jsp tutorials?

There are many websites for JSP Tutorials. Just google with text as "JSP Tutorials" or click on the related links in this answer...


How do you connect jsp and HTML?

JSP and HTML are similar in some way or other. JSP is one which has work on Java Programming as well.


What are the Implicit object in JSP?

The implicit objects in a JSP page are:requestresponsepageContextsessionapplicationoutconfigpage


What does JSP stand for in JSP Corporation?

Japan Styrene Paper Corporation


Why can you make HTML and jsp pages?

You can make HTML pages and JSP pages for web attractiveness. JSP pages offer additions features to it.