cool hit counter Build a JSP development environment_Intefrankly

Build a JSP development environment


Copyright: This is an original post by the blogger and may not be reproduced without the blogger's permission. https://blog.csdn.net/huyuyang6688/article/details/12892505

As the saying goes, "if you want to be good at what you do, you must first be good at what you do", so before JSP development, you need to build the entire development environment.

Explain in advance, because JSP (Java Server Pages) is based on java development, as shown: JSP code needs to be converted by the server into Servlet code and compiled into Class files after loading, so it must be supported by the JDK and executed with the Web server as the center.

So first you have to install and configure the JDK:.

1, download and install the JDK (specific installation directory to decide), download address.http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

2, configure environment variables (Win7 system as an example): right-click "Computer" → Properties → Advanced System Settings → Environment Variables → find and double-click the "path" system variable in the System Variables box → write the bin path of the JDK installation directory at the end of the variable value (such as "C:Program Files (x86)Javajdk1.6.0_10in; "), do not omit the final score, and click OK. If you want to test if the configuration is successful, you can run cmd and execute the javac command, the following screen will appear.

With the JDK taken care of, it's time to configure the server.

Tomcat is more suitable for learners because it is a lightweight and supports JSP and Servlet technology web server.

Installation and configuration of the server Tomcat

Tomcat download at.http://tomcat.apache.org/ It has two types of installation, one is in rar format, which requires unzipping and configuring environment variables, and the other is in exe format, which can be installed directly. For installation details, please click on. Tomcat installation method

Database selection

Because MySQL has the advantages of being short, compact, full-featured, fast, and completely free, it is more suitable for Web beginners.

MySQL download at.http://dev.mysql.com/downloads/mysql/

Eclipse installation

Eclipse is a Java-based, open source, extensible application development platform that provides a first-class Java IDE for programmers. It is a platform that can be used to build integrated web and application development tools that do not provide a large amount of functionality themselves, but rather enable rapid development capabilities for programs through plugins.

Eclipse download at.http://www.eclipse.org/downloads/

When all this work is almost ready, you can do JSP learning development.


Recommended>>
1、How to use big data resources New smart city construction must answer questions
2、Algorithms and drawing machines
3、A Python programming teenager at a school has exposed all the gorgeous girls and left nothing to chance
4、Selfdriving vehicles to hit the road Changsha issues open road test number plates for 4 types of smart network connected vehicles
5、The most expensive group battle in the history of the game both sides drop millions of dollars and the servers blow up

    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号