简体   繁体   English

如何搜索任何网页/ HTML页面的相应JSP文件?

[英]How to search the correponding JSP file of any web page/HTML page?

I have a web application . 我有一个Web应用程序。 When i right click on any html/webpage inside my browser , for some pages it shows the excaxt jsp page like http://localhost:8080/MyWebApp/vustomer.jsp while for some pages it shows action class instead of jsp page like http://localhost:8080/MyWebApp/TellerAction.do?actionCode=3&page=controlPanel . 当我右键单击浏览器中的任何html /网页时,对于某些页面,它会显示excaxt jsp页面,如http:// localhost:8080 / MyWebApp / vustomer.jsp,而对于某些页面,它显示的是动作类而不是像http这样的jsp页面:// localhost:8080 / MyWebApp / TellerAction.do?actionCode = 3&page = controlPanel I am not getting what is reason behind these two different behaviour? 我不知道这两种不同行为背后的原因是什么? i mean why it does show jsp file name for some page but not for others? 我的意思是为什么它确实显示某些页面的jsp文件名但不显示其他页面?

I guess because HTML code of page sometimes has <a href='...jsp'>...</a> and other times it has <a href='...do'>...</a> . 我想因为HTML代码页面有时会<a href='...jsp'>...</a> ,有时候它会<a href='...do'>...</a>

Your best bet to find out why is to ask author of code :) 你最好的办法是找出为什么要问代码的作者:)

Usually, .do URLs are served by servlets, not jsp. 通常, .do URL由servlet提供,而不是jsp。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM