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
HTML
The tool is MyEclipse, and there are many pages and folders in the project.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.
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
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.
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
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