In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the JSP-related software example analysis, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
JSP (Java Server Pages) introduced by Sun is a dynamic web page development technology implemented on the server side, which is based on Java technology. When executing JSP, you need to set up an engine to compile JSP pages on the Web server. There are many ways to configure a JSP environment, but the main job is to install and configure the Web server and the JSP engine.
Introduction of JSP related softwar
1.J2SDK:Java2 's software development tools are the foundation of Java applications. JSP is based on Java technology, so J2SDK must be installed before configuring the JSP environment.
2.Apache server: a commonly used Web server developed by the Apache organization that provides Web services.
3.Tomcat server: a JSP engine developed by the Apache organization, which has the function of Web server and can be used as a stand-alone Web server. However, as a Web server, Tomcat is not as fast as Apache when dealing with static HTML pages, nor is it as robust as Apache, so we generally use Tomcat with Apache to let Apache provide services for static page requests of the website, while Tomcat, as a dedicated JSP engine, provides JSP parsing to get better performance. And Tomcat itself is a sub-project of Apache, so Tomcat provides strong support for Apache. Tomcat is a good choice for beginners.
4.mod_jk.dll:Apache organizes plug-ins developed by the Jakarta project team to enable Apache to support Tomcat. With this plug-in, Tomcat can seamlessly connect with Apache.
5.tc4ntiis.zip:Apache organizes plug-ins developed by the Jakarta project team to enable IIS to support Tomcat.
Prepare a JSP page for testing, open a text editor such as notepad, enter the following code, and save it as test .jsp (note that the extension is .jsp). The following is the referenced content:
< HTML > < HEAD > < TITLE > JSP Test Page < / TITLE > < / HEAD > < BODY > < out.println ("< H2 > Hello World! < / H2 >"); < / BODY > < / HTML >
1. Install JSP related softwar
Under Windows, run the downloaded j2sdk-1_4_1_01-windows-i586.exe file directly and install it to a directory according to the installation wizard, for example, to f:\ j2sdk 1.4.1
two。 Add environment variabl
(1) if your operating system is Win 98, you can edit Autoexec.bat directly with notepad and add the following command line: the following is the referenced content:
◆ PATH=%PATH%;f:\ j2sdk1.4.1\ bin
◆ SET JAVA_HOME=f:\ j2sdk1.4.1
◆ SET CLASSPATH=f:\ j2sdk1.4.1\ lib\ tools.jar
After saving, restart the computer so that the added environment variables are valid.
(2) if your operating system is Win2000, then right-click "my computer", in the pop-up menu, select "Properties" → "system characteristics" → "Advanced" → "environment variables", pop-up environment variables dialog box, you can edit the system environment variables. Add three variables, PATH, JAVA_HOME and CLASSPATH, with the same value as above.
Thank you for reading this article carefully. I hope the article "sample Analysis of JSP-related Software" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.