Why is the uploaded file only in Tomcat that has myeclipse not?

Updated on technology 2024-04-11
4 answers
  1. Anonymous users2024-02-07

    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.

  2. Anonymous users2024-02-06

    I guess you didn't create the corresponding folder under your project. Instead, it's created in tomcat.

  3. Anonymous users2024-02-05

    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.

  4. Anonymous users2024-02-04

    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.

Related questions
14 answers2024-04-11

If your machine wasn't like this before, then the most likely thing is poisoning, and there are so many garbage viruses now.

13 answers2024-04-11

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

12 answers2024-04-11

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

3 answers2024-04-11

What are you talking about only Final Fantasy 7......?

6 answers2024-04-11

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