Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Editor

 
Vinod John
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a JSP editor plugin for eclipse ? I tried on from here http://www.strecl.com, but not satisfied with the result. I know WSAD has something similar in built.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is also one in MyEclipse: http://www.myeclipseide.org/
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Try the Lomboz plugin its good
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just started using Lomboz and I really like the JSP editor. If you are using it in a Lomboz J2EE project, it will compile the JSP as you save so that you can find syntax errors without deploying it.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do these "JSP editors" offer much beyond syntax coloring both HTML and Java scriptlets? Although I don't use much JSP in my own code these days, I often need to work on JSPs for a client and some refactoring options like "extract scriptlet to custom tag" would be invaluable.
Anyone do anything like this?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The two things I look for in a JSP editor (in order of importance):
1. Syntax highlighting for scriptlets, jsp:tags and custom taglibs.
2. Code completion for scriptlets
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lomboz has a JSP parser, so if you have errors in your page you will know about it when you save. Unfortunately, this only works if your JSP is part of a Lomboz web module.
A refactoring tool for JSPs would be nice.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The MyEclipse editor also has an auto-import feature, if I remember correctly.
 
Wayne Parrott
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The MyEclipse JSP Editor provides:
- tag completion for standard JSP and HTML tags, custom taglibs, Java scriptlet code
- auto-import of Java scriptlet classes similar to the Java editor
- very customizable syntax coloring options
- JSP validation for JSP syntax and translated Java error detection
- native breakpoint and debug support for JSR045 compliant appservers
- user preferences and actions to enable/disable JSP compilation and to rebuild only JSP resources
- preview mode (Win32 for now) to view static HTML structure of a JSP file
The MyEclipse 2.6.0 release scheduled for this week will introduce lots of new formatting preferences.
If you're unfamiliar with MyEclipse visit http://www.myeclipseide.com.
Wayne
 
Joe Pluta
Ranch Hand
Posts: 1376
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the update, Wayne!
P.S. I don't know how the others feel about it, but for me, when you post a news release about your own product, I'd appreciate you disclosing the relationship. Just as a professional courtesy.
 
Wayne Parrott
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe,
This was an unintentionally oversight of mine in a previous post. For readers of this thread I am the Product Manager and an active developer on the MyEclipse Enterprise Workbench product.
An additional bit of news is that MyEclipse 2.6 was released today. Two of the release's new features that are relevant to this thread are extension of the MyEclipse JSP editor with new look-and-feel and formatting features, and support for Mac OSX. Some of the new JSP features include an overview ruler, line-numbering, current input line shading, print margin, and a handful of new formatting features.
Regards,
Wayne Parrott
MyEclipse Product Manager
www.myeclipseide.com
 
Joe Pluta
Ranch Hand
Posts: 1376
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wayne, I know you didn't have any devious intent . I don't think you were trying to hide the fact that your post was from someone involved with the product. I just thought I should point out the oversight.
Joe
 
chang wei
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But myeclipse is not free.
I didn't want that I falled love with it when I can't use it freely. :roll:
 
Marco Bucciarelli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used Intellij IDEA for a long time and it manages really a wonderfully jsp pages: coloring, tag insight, completion for tag libraries, completion for java code in the scriptlets, very very useful showing of which tag closes a beginning tag (for html, tag libraries, brackets in java code).
I am now taking a look at similar plugins for Eclipse and the best is that provided by myeclipse (2.7): it has coloring, code completion, completion for java code, compilation of jsp (if you want). Something that myeclipse does not have but strecl has is the highliting of beginning and ending tag (html and tag library).
In effect myeclipse does a lot of things I do not use (I use the SOFIA framework for web application development and it has its own J2EE containet management. I think this framework is a lot of times better than Struts based frameworks).
Perhaps in the future the webtool project of clipse will provide something interesting for us.
Bye,
Marco.
 
Marco Bucciarelli
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hy all, have a look at this:
http://www.eclipse.org/newsportal/article.php?id=513&group=eclipse.webtools
If you do not have an account on eclipse newsgroups, try the following link:
http://www.cs.huji.ac.il/~dar/wdt/ibm.html
Perhaps we do not have to wait a long time to have something interesting from the webtool project of Eclipse.
By,
Marco.
 
Pramod Pillai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried using myeclipseide on eclipse 3.0M4, but it did not work.
Lomboz JSP editor is good but I was unable to get my war deployed
on weblogic 7.x.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic