views:

212

answers:

4

Whenever I save a jsp page, MyEclipse IDE start building the workspace. It should build when I change in any class file. Or if there are classes that not compiled. But why it start building whole workspace when I change in a JSP file. I am stuck on it. Please advise me on this problem.

I am using MyEclipse 5.5 over Eclipse 3.2

Thanks.

A: 

JSP is a class file. You can write any java code inside it.

Ha
what is the point of this post?
Narayan
A: 

For every JSP, the JSP compiler generates a corresponding Java class. So when you save a JSP, Eclipse/MyEclipse is figuring that it needs to do a workspace build to 1) run the JSP compiler, and 2) compile the resulting Java class to bytecodes.

I imagine you can modify this behavior (e.g. via Eclipse/MyEclipse preferences), but I don't use MyEclipse, and I don't do J2EE development this way anyway.

Stephen C
But I dont know why it start building the whole workspace. From the start.
Tahir Akram
A: 

this problem is due to problem in java build path, fix your build path and get out of this.

Asad Ali Rathore
At my end, that was the problem.
Tahir Akram
A: 

This issue is because of problem in java build path, fix your build path and get out of this issue.

Asad Ali Rathore