Types of files

A Web target can contain various types of files:

HTML files

HTML files determine the presentation for your Web applications. In Web site targets, HTML files provide the framework for adding components to your Web pages. You can use HTML pages in JSP targets, but you must import them as accessory files rather than create them directly in the JSP target.

JSP files

You can use JSPs in many ways in Web-based applications that you deploy to a JSP server. JSPs are invoked by a Web server in the middle tier in response to HTTP requests from Web clients. As part of the J2EE application model, JSPs can invoke, in turn, the business methods of Enterprise JavaBeans (EJB) components on a transaction server.

Scripts

Scripts drive application behavior both on the client side and on the server side. You can write scripts in the Script editor in a number of languages including JavaScript, JScript, and VBScript, as well as server scripts in Java for JSP targets.

Client-side scripting Client-side scripts contain instructions that the browser executes on the user’s local machine. Client-side scripts can use syntax, functions, and objects supported by the major browsers.

Server-side scripting Server-side scripts contain instructions that an application server or Web server executes before sending a Web page to a client browser. These scripts provide a way to include conditional execution, looping, and other programming structures in your Web pages. They can also provide access to integrated server systems such as a DBMS or EAServer.

Server-side scripts can take advantage of the Web Target object model, which uses a set of language structures and objects. Although many of the objects and programming structures are common to a number of application server technologies, a subset is specific to the EAServer environment.

Components

You can include the following types of components in your Web pages to deliver the content and functionality your site users need:

Accessory files

Web sites include several other types of files, such as images, video files, and audio files. You can import accessory files into a Web target from another location. See “Importing files for an existing Web site”.