简体   繁体   English

在Eclipse Indigo上运行JSP文件

[英]Running JSP Files On Eclipse Indigo

I used to work on Notepad++ for running my jsp applications . 我曾经在Notepad ++上运行我的jsp应用程序。 I am a newbie to jsp though !! 我是jsp的新手! But my teacher recommended me to use Eclipse for jsp . 但是我的老师建议我将Eclipse用于jsp。 So , I did the same . 所以,我也照做了。 I installed Eclipse Indigo and added Web Plugin For running the jsp files . 我安装了Eclipse Indigo,并添加了用于运行jsp文件的Web插件。 Now I have written some codes in jsp but don't know how to configure my local apache server with the Eclipse . 现在,我已经用jsp编写了一些代码,但是不知道如何使用Eclipse配置我的本地apache服务器。 Previously I used to paste the jsp files in the tomcat directory and run the files . 以前,我曾经将jsp文件粘贴到tomcat目录中并运行这些文件。

Now Please help me on integrating my apache web server with my Eclipse Indigo !! 现在,请帮助我将apache Web服务器与Eclipse Indigo集成!

Under eclipse you can go to Windows (Alt+W) >Show View > Servers. 在eclipse下,您可以转到Windows(Alt + W)>显示视图>服务器。

When your server window opens,you can right click and then click add server, select tomcat version that you have on your system and then provide the path at which your tomcat is located, then just install it. 打开服务器窗口时,可以右键单击,然后单击添加服务器,选择系统上具有的tomcat版本,然后提供tomcat所在的路径,然后直接安装它。 You have your tomcat configured on your system. 您已在系统上配置了tomcat。

You can start/stop your servers using and green and red button present in the server console that you first opened using Windows server option. 您可以使用第一次使用Windows服务器选项打开的服务器控制台中的绿色和红色按钮启动和停止服务器。

Hope that clears your question. 希望能解决您的问题。

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

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