eclipse 如何在eclipse中查看JSP的设计

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7255341/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:29:10  来源:igfitidea点击:

How to view design of JSP In eclipse

eclipsejspeclipse-wtp

提问by dov.amir

I have configured a J2EE project into Eclipse. The source code is consisting of JSP as well as Java Files.

我已经在 Eclipse 中配置了一个 J2EE 项目。源代码由 JSP 和 Java 文件组成。

Is there any way so that we can view the design of the JSP?

有什么方法可以让我们查看 JSP 的设计吗?

I am using Eclipse 3.1.

我正在使用 Eclipse 3.1。

回答by dov.amir

goto window - preferences - general - editors - file associations

转到窗口-首选项-常规-编辑器-文件关联

choose *.jsp

选择 *.jsp

and in associated editors choose "web page editor" as the first default

并在关联编辑器中选择“网页编辑器”作为第一个默认值

回答by Ram

You right click on the jsp file and then highlight "Open With" .You will get options like JSP Editor, Text editor, Web Page Editor. Please Select "Web Page Editor" option.

您右键单击 jsp 文件,然后突出显示“打开方式”。您将获得 JSP 编辑器、文本编辑器、网页编辑器等选项。请选择“网页编辑器”选项。

回答by Serhat

Right click to the empty area in code page > go to Open With section > select WindowBuilder Editor. The Design Page will appear left-down. I solve it on Eclipse Neon.

右键单击代码页中的空白区域 > 转到打开方式部分 > 选择 WindowBuilder Editor。设计页面将出现在左下方。我在 Eclipse Neon 上解决了它。