Home  >  Article  >  Web Front-end  >  Newbie asking for help, how to check the location of the current HTML web page in the project file? _html/css_WEB-ITnose

Newbie asking for help, how to check the location of the current HTML web page in the project file? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:22:413076browse

HTML

The tool is MyEclipse, and there are many pages and folders in the project.
There is a page A that uses column technology. Now I want to change the size of each column, but I can’t find the location of page A in the project file. You can find the location of the page in each column. The method is to right-click-Properties. Please find a way to find the location of page A.
Thank you everyone!

Reply to discussion (solution)

Is it a java project? Web pages are generally in webContent

Is it a java project? Web pages are usually in the webContent

, but there are too many things in it. I want to know how to find the location of the page that controls the columns in the project file through the page displayed by IE.

Did you use struts framework? Find the url and search for the struts configuration file. If it doesn't work, search for web.xml



Click the button in the red box, MyEclipse will automatically Identified the file location

and used the struts framework? Find the url and search for it in the struts configuration file. If it doesn’t work, search for web. Check the URL of the page. If there is a URL, you can locate it. Thanks, I'll do more research. I don't understand web.xml very well. In fact, I found that page by accident, and I just wanted to know how.


Click the key in the red box, MyEclipse will automatically identify the file location based on the project you are currently displaying
Thank you, I learned another trick. However, the page I am looking for is not opened in MyEclipse, otherwise I would not have to locate it.

So I don’t know how to check the url of the page

re:
1. Find the address in the browser address bar, for example: /xxx.do?a=xxxx
2. Open web.xml, search for /xxx, these are unique and will not be repeated. If you find it, you will find the jsp file used by /xxx.do


You do not need to understand web.xml . Just search


Click the key in the red box, MyEclipse will automatically identify the file location based on the project you are currently displaying
The most important thing is that the author does not know which jsp it is

So I don’t know how to check the url of the page

re:
1. Find the address in the browser address bar, for example: /xxx.do?a=xxxx
2. Open the web. xml, search for /xxx, these are unique and will not be repeated. If you find it, you will find the jsp file used by /xxx.do


You don’t need to understand web.xml. As long as Just search
The address bar is always "xxx/systemManage/Login.do", no matter what page is displayed. web.xml refers to the one in WEB-INF. There is not much content there and there are no fields like those in the address bar.

You should still use struts or spring. Both of them have separate configuration files. If you don’t use them, these are all in web.xml. Take a look at what else is under web_inf. xml file, look for

one by one. Which one is still using struts or spring? Both of them have separate configuration files. If they are not used, these are all in web.xml. Take a look under web_inf If there are any other .xml files, please look for them one by one

Okay, thank you very much, I found them. There is a struts-config.xml under the WEB-INF folder, and one of the points to "/systemManage/Login", and there are four target pages under this action, one of which is what you are looking for. page. I don't know much about servlets and jsp, so I took some detours. Thanks again!

In fact, these configuration files are all engraved in the same mold and express the same meaning



Click the key in the red box, MyEclipse will adjust it according to your current The displayed project automatically recognizes the file location
The most important thing is that the author does not know which jsp it is

Then I misunderstood, so you can click file in the Myeclipse header Search to search

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn