Tomcat can be started normally, but the JSP page cannot be opened

Source: Internet
Author: User

I used to use eclipse in the past. I tried myeclipse this weekend, but I encountered a problem when I used it.

Tomcat can be started normally, and the index. jsp that comes with the new project can be displayed normally, but other JSP pages cannot be opened in any way,

That day, the dormitory was just disconnected from the network and no one could ask, so I tried it and configured it with it. It was around for almost the whole weekend. Sometimes I want to put it down. I can check it out on Monday or ask someone else, but I can't keep it in my mind. If it doesn't work well, I always want to find out the problem.

Later, I accidentally realized that the files were stored in different locations. JSP files in eclipse are stored in the root directory of the project, but myeclipse does not. It sets the JSP file to be placed in the webroot folder. Later, after the JSP files are transferred to the webroot folder of myeclipse, they can be opened after a try. Alas, all of them are not familiar with myeclipse.

After knowing the problem, I tried again to see if the JSP file under the root directory can be opened normally. Create. JSP, and then in. set a hyperlink in JSP to B. JSP (.. /B. JSP), and B. JSP is under the root directory of the project. After trying this, the hyperlink cannot be opened. B. JSP can be opened without knowing how to set it, or cannot be placed in the root directory. (Consult experts)

Simple common sense, hope to solve your urgent needs.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.