-
It's simple, because your project can only run on IE after it is published, and after it is published, you publish the data from MyEclipse to Tomcat, and then IE reads Tomcat so that it can run, which is equivalent to copying MyEclipse to Tomcat, and then when you upload it, it's equivalent to pasting it into Tomcat, and MyEclipse will of course not update.
There are two solutions.
Method 1: When you upload, add the myeclipse path to it (but that doesn't make a lot of sense).
Method 2: Don't use MyEclipse's publishing tools, i.e. don't publish but use soft loading.
Add one to the tomcat directory.
Which is written.? xml version="" encoding="utf-8"?>
aaa should be written to the directory address of the webroot file in your MyEclipse project.
In this way, you can start Tomcat directly in the project, eliminating the need to publish, and it is recommended that you use the second method, so that MyEclipse will have what you uploaded.
-
I guess you didn't create the corresponding folder under your project. Instead, it's created in tomcat.
-
The docbase is the path to the project.
3.In the conf directory, create a new XML file in the Catalina localhost directory (here you need to pay attention to the case of the directory), and name it arbitrarily, as long as it is not the same as the file name in the current file, ** as follows.
The third method is relatively flexible and allows for aliases.
-
1. Questions.
When starting Tomcat via Eclipse, an exception is thrown: Unrecognized Windows Sockets Error: 0: JVM Bind. The cause of this exception is that the server port is occupied.
There are two solutions:
1. Change the port number of the server;
Step 2: Shut down the process that occupies the port.
2. Change the server port number.
Go to the file in the conf folder in the tomcat directory, find it, and modify the port.
3. Shut down the process that is currently occupying the port.
1) First go to the command line to see if the port is occupied.
Use the command: netstat -ano
The port of my server is 443
This port is already occupied by a process with a PID of 3432.
2) End the process with PID 3432 via Task Manager or TaskKill program.
If your machine wasn't like this before, then the most likely thing is poisoning, and there are so many garbage viruses now.
The broadband of a few meters and the speed of the ** are 2 different concepts. For example, the speed of 1m is 1024k, and the unit here is bytes, that is to say, the speed of 1m is equal to the byte of 1024k. >>>More
The copyright belongs to the original author.
1.The content on the library is entirely from user uploads and is not modified in any way. Users of the library shall not infringe intellectual property rights or other rights, including the copyrights of others. >>>More
What are you talking about only Final Fantasy 7......?
1. Cause of the problem: Word can only be opened in safe mode, and a software error will appear after double-clicking the word file, and then prompted to provide an error report to Microsoft, and Word can only be opened in safe mode after clicking. >>>More