如何查看.JSP文件 [英] How can I view .JSP files

查看:61
本文介绍了如何查看.JSP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Web应用程序的新手,并且我有一些扩展名为.jsp的文件(Web文件).我想知道如何在我的机器中以合适的方式查看它们?我需要apache服务器吗?

I am new with web application and I have some files (web files) with the extension of .jsp. I would like to know how I can view them in suitble way in my machine? Do I need apache server?

注意:我在说的是最终用户视图,而不是程序员视图!

Note: I am talking about the end-user view NOT the programmer view!

推荐答案

在您的PC上安装Apache.将JSP文件放在Apache安装的/htdocs/JSP文件夹中.您将必须创建JSP文件夹.将JSP文件命名为index.jsp.打开Apache并启动Web服务(最上面的一个.单击开始"). 要查看它,请转到浏览器并输入以下URL:127.0.0.1/JSP.如果那不起作用,请键入127.0.0.1/JSP/index.jsp

Install Apache on your PC. Put the JSP file in the /htdocs/JSP folder in the Apache installation. You will have to create the JSP folder. Name the JSP file index.jsp. Open Apache and start the web service (the top one. Click Start) To view it, go to your browser and type in the following URL: 127.0.0.1/JSP. If that doesn't work, type in 127.0.0.1/JSP/index.jsp

这应该有帮助.

这篇关于如何查看.JSP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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