In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly shows you "how to configure JSWDK", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to configure JSWDK" this article.
The configuration of JSWDK in the windows operating system (windows9x,Windows2000,windowsXP).
Three necessary software: 1.jre Java running environment, 2.jdk java standard development kit, 3.jswdk java server network development kit. All three softwares are available free of charge at www.sun.com. When you have these three things, you can start to configure the jsp runtime environment. First install jre, install it in the root directory of the hard drive, and then install jdk, also install it in the root directory of the hard drive. Once these two are installed, start configuring the autoexec.bat file (either WIN9X,win2000,winxp can find her). Select the file, click the mouse button to edit the file, and add the following statement: set path=,d:jdk1.4.1bin; (here indicates the location of the java virtual machine), set JAVA_HOME=d:jdk1.4.1lib;d:jdk1.4.1bin; set classpath=,d:jdk1.4.1libtools.jar (the above path is only used as an example reference. For specific writing, please refer to the personal installation path.) After the jdk is configured, extract the JSWDK to the root directory of the hard disk (jswdk does not need to be installed, it can be used directly after unzipping), open the jswdk folder to see the three files webserver.XML,startserver.bat,stopserver.bat, and examples this folder. Open webserver.xml with WordPad and find the following line:
Port NMTOKEN "8080"
HostName NMTOKEN ""
.net NMTOKEN ""
Doc Base CDATA "webpages"
WorkDir CDATA "work"
This is to set the port number and publish directory hostname. You can set it as you like.
Then open the startserver.bat file with notepad and find the following line:
Set CLASSPATH=%appClassPath%;%sysJars%
Change it to:
Set CLASSPATH=%appClassPath%;%sysjars%;d:jdk1.4.1libtools.jar
In addition, modify the properties of startserver.bat under win9x,win2000 to set the memory of its initial environment to more than 2816, preferably 4096, and ignore it in winXP (because you don't know how to set ^ _ ^ in XP). So far, jswdk is configured. If you see the following text when running startserver.bat, you will be considered successful:
JSWDK WebServer Version 1.0.1
Loaded configuration from: file:F:jswdkwebserver.xml
Endpoint created: localhost/127.0.0.1:8080
If you can't see it, then the
Set CLASSPATH=%appClassPath%;%sysjars%;d:jdk1.4.1libtools.jar is not configured for a pair, so the path in this statement should be changed to the path at the time of personal installation. I believe that as long as everything is configured correctly, you will be able to see the examples of jsp. The specific usage is as follows: first start startserver.bat, that is, start the jsp server, open IE, enter: http://localhost:8080 in the address bar, close when you have to run stopserver.bat to close it, it is best not to use ctrl+c to close it.
The above is all the content of this article "how to configure JSWDK". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.