Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Method references in JSP files
Method references in JSP files [message #203955] Wed, 07 November 2007 20:51 Go to next message
Eclipse User
Originally posted by: nilesh.NOSPAM.cs.toronto.edu

Hi all,

I have a query regarding development of JSP files using eclipse. Our
project has some Java code and some JSP files, organized as follows:

projectname
|
|-src/
|-Java files
|
|-web/
|- JSP files
|
|-bin/

The project is configured to be a standard Java project. When I try to
find all references for a method in one of the Java files, Eclipse often
omits references in JSP files. I was wondering if this is a known bug,
or I am missing something. This also happens when refactoring, as
changing the name of a function does not update its references in JSP files.

Any help will be appreciated.

thanks
Nilesh
Re: Method references in JSP files [message #204015 is a reply to message #203955] Fri, 09 November 2007 05:38 Go to previous message
David Williams is currently offline David Williams
Messages: 696
Registered: July 2009
Senior Member
On Wed, 07 Nov 2007 15:51:57 -0500, Nilesh Bansal <nilesh@NOSPAM.cs.toronto.edu> wrote:

> The project is configured to be a standard Java project.

I suspect that's the issue. It probably has to be a dynamic web project, for us (jsp) to understand all the structures involoved.

It's been a while since I've tried it, so still might be some other bug, but you could make a small dynamic web project, put in a few java files and a few jsp files and see if that case works as you'd expect it to. If so, then I suspect you're stuck with it ... that is, that you'd have to have dynamic web projects for refactoring and references to work. If even that case doesn't work, then would be worth a bug report, with versions, logs, configuration, etc., attached.
Previous Topic:Unsupported Content Type
Next Topic:There are no projects that can be added or removed from the server issue
Goto Forum:
  


Current Time: Thu Oct 23 03:07:31 GMT 2014

Powered by FUDForum. Page generated in 0.08319 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software