I've created, from scratch, a new project to test a .jsp page with some JSTL tags.
我从头开始创建了一个新项目来测试带有一些JSTL标记的.jsp页面。
However in NB the suggestions doesn't work.
但是在NB中,这些建议不起作用。
If I type <c:
nothing happen...
如果我输入
I've imported from glassfish 3.1 the module jstl-impl.jar but also nothing work.
我从glassfish 3.1导入模块jstl-impl.jar但也没什么用。
In a strange way, if I create a web project from NB the auto-complete works!!!
奇怪的是,如果我从NB创建一个Web项目,自动完成工作!
Thanks.
1 个解决方案
#1
0
You must start/import your project as web project in order to get Java web feature enabled. And I can see you are fine when you start a web project. So, why not just go that route. Where is the problem?
您必须以Web项目的身份启动/导入项目才能启用Java Web功能。当你开始一个网络项目时,我可以看到你很好。所以,为什么不走这条路。问题出在哪儿?
#1
0
You must start/import your project as web project in order to get Java web feature enabled. And I can see you are fine when you start a web project. So, why not just go that route. Where is the problem?
您必须以Web项目的身份启动/导入项目才能启用Java Web功能。当你开始一个网络项目时,我可以看到你很好。所以,为什么不走这条路。问题出在哪儿?