Is there any JSP Editor plugin for eclipse with the similar function as Java Editor

Posted on 2006-05-07
Last Modified: 2013-11-18
When I use java editor for java files, when I right click on the editor, the java editor in eclipse will show me options like"open type declaration", "open call hierarchy", "reference - in workspace" . These options are very useful to me. But for the jsp files, the jsp editor coming with WTP doesn't have similar options as Java Editor. I tried to associate jsp files with java editor, but also doesn't work. Since the Jsp files I am currently looking at contain a lot java code, I really need the options mentioned above. Does anyone know any plugins which can do that?
Question by:ly_uwo
    LVL 86

    Expert Comment


    Author Comment

    Thanks CEHJ, but I don't find anything in the WTP link. I have tried WTP, but that didn't work out. The WTP comes with a jsp editor which can't let you show the java class information inside the jsp files. It only highlight syntax. What I want is a jsp editor which can show the java hierarchy, type declaration, call hierarchy of the java classes which resides in the jsp files.
    LVL 92

    Accepted Solution

    I doubt you'll find one, jsp editors are typically designed to edit jsps and not scriptlets.

    perhaps have a look at nitrox but i don't think it'll do what you need

    other thing would be to try putting your scriplet code in seperate file and including in your jsp.
    Best still avoid putting java code in your jsp :)

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    tenRun challenge 28 67
    linearIn  challenge 23 54
    mapBully challenge 6 53
    create a gui in perl 3 21
    Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now