Jsp and jsp tutorials

Source: Internet
Author: User

Jsp and jsp tutorials

Dynamic Website advantages:

1. Interactivity: The webpage dynamically changes and displays content based on user requirements and choices.

2. Automatic update: The page content is automatically generated without changing the Page code, which can greatly save the workload.

3. Randomness: when different users access the same website at different times, different page effects may occur.

Directory

Description

/Bin

Stores script files used to start and stop Tomcat on various platforms

/Conf

Stores various configuration files of the Tomcat server

/Lib

Store various JAR files required by the Tomcat server

/Logs

Store Tomcat log files

/Temp

Used to store temporary files during Tomcat running

/Webapps

When a Web application is published, the Web application files are stored in this directory by default.

/Work

Tomcat stores the Servlet generated by JSP in this directory

 

Directory

Description

/

The root directory of the Web application. All files under this directory can be accessed on the client (JSP, HTML, etc)

WEB-INF

Stores various resources used by the application. The directory and its sub-directories are inaccessible to the client.

/WEB-INF/classes

Store all the class files of the Web Project

/Web-INF/lib

Store JAR files used by Web Applications

 

Syntax

 

 

 

Jsp comments

<! -- Remember to go back to 1111111 '11' 1 without development -->

<% -- Gillian's full health 1 -->

<% // Scatter %>

 

Attribute

Description

Default Value

Language

Script Language used for JSP pages

Java

Import

This attribute is used to reference the class files used in the script language.

None

ContentType

Specifies the encoding method used for JSP pages.

Text/html,

ISO-8859-1

Syntax

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.