Reputation: 32144
I'm trying to find a way to have colors and code completion and error detection in jsp pages. i have
Eclipse Java EE IDE for Web Developers. Version: Helios Service Release 2.
I cannot install anything using the eclipse web tools platform because everything is already installed. any ideas ?
thanks!
Upvotes: 10
Views: 11495
Reputation: 1532
i solved this issue by doing this :
Right click on your project then go to Properties -> Targeted Runtime -> Apache tomcat
then restart eclipse.
Upvotes: 0
Reputation: 8024
Are the JSP pages opened with the right editor? Right click on your JSP file -> Open With -> JSP Editor. You can set the editor in Preferences -> General -> Editors -> File Associations.
Upvotes: 15
Reputation: 9777
Is your project declared as a "Web" or "J2EE" project? If not go into the project facets and add the "Dynamic Web Module" facet to it.
At that point your project /should/ be recognized as a web project and the highlighting and syntax decorations will be enabled.
Upvotes: 3