我刚刚开始在 Eclipse 上进行基于Java、Struts、Hibernate、Tomcat的Web 应用程序开发。
我已经在我的 Ubuntu 系统上安装了面向 Java EE 开发人员的 Eclipse IDE。
Do I need to install any plugins for Syntax Highlighting to work properly - for Forms, Actions, Servlets, Classes, etc.?
谢谢。
最佳答案
EMMERICH: "As long as you include the Struts schema tag on any page that uses any struts tags (s:whatever) it should pick up the syntax automatically."
不,这还不足以让它发挥作用。
试试这个:
<s:if test="#balance<=0">
<p>whatever</p>
</s:if>
由于 struts 标签中使用了 <,Eclipse 的语法高亮只会失败并警告错误。
关于java - Eclipse 语法突出显示 Java Struts Hibernate Web 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3978315/