关于jsp源代码 [英] about jsp source code

查看:57
本文介绍了关于jsp源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个非常大的Web应用程序.如果我需要在JSP页面中进行任何更改,则花费太多时间才能找到该JSP页面,链接,操作等.

I have developed a very large Web application. If there is any change I need to make in a JSP page, it takes too much time to find that JSP page, link, action, etc.

那么,有没有工具或技术可以直接获取该特定JSP页面的代码?

So, are there any tools or are there any techniques through which I can directly get to the code of that particular JSP page?

我认为查看源代码"是不同的.它仅显示该JSP的来源?

I think "View Sources" is different. it shows only source of that JSP?

推荐答案

可能会响应调试"类型的查询参数,在最终输出中生成HTML注释,以标识每个代码段的来源.然后用查看源代码"查看代码,您应该可以很容易地弄清楚它的来源.

Generate an HTML comment identifying the source of each section of code right into the final output, possibly in response to a "debug" type query parameter. Then eyeball the code with "view source" and you should be able to figure out where it came from quite easily.

将这些注释添加到您的代码中需要花费一些时间,但是随着时间的推移,您可以逐步对其进行修改.

It will take time to add these comments to your code, but you can do it piecemeal over time as you modify things.

这篇关于关于jsp源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆