Method references in JSP files [message #203955] |
Wed, 07 November 2007 15:51  |
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 00:38  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03905 seconds