开发者

How to modify query string when debugging JSPs in Eclipse

开发者 https://www.devze.com 2023-02-21 04:44 出处:网络
I just set up Eclipse with Tomcat so that I can debug JSP files. One thing I still haven\'t figured out is how to modify the URL that Eclipse uses for the JSP page so that I开发者_JAVA技巧 can pass pa

I just set up Eclipse with Tomcat so that I can debug JSP files. One thing I still haven't figured out is how to modify the URL that Eclipse uses for the JSP page so that I开发者_JAVA技巧 can pass parameters in through the query string. Any info provided will be much appreciated.


As @SeanA pointed out, you can run the Tomcat server in Eclipse and then access from your browser to the JSP, adding as many parameters as you want. Unfortunately it seems that in Run > Run configurations there's no way to configure the query string to run your JSP with... Only arguments for the application server are allowed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号