Hi All, I have been using JCreator 3.5.013 LE for my personal development for a while. Though I am not a power user, I keep doing small projects to keep myself busy. Currently I am working on developing a J2EE application using JCreator 3.5.013 LE. I am facing one problem which is quite bothering.
I have one JSP file (having some 400+ lines of code). Whenever I try to edit this file in JCreator, my CPU utilization goes 100% and my system start almost crawling. I don't find this issue while working with other Java or JSP files.
If you happen to know how to fix this or any workaround, please share with me. Due to this I am forced to edit this particular file in a notepad to get going.
Joined: Apr 27, 2003
I thought JCreator was a popular editor? Or is it just me facing this issue? Anyway I have send the same query to the JCreator Support folks. If they come back with some solution/suggestion, I will post it here.
Ashish, Regardless of the popularity of JCreator, it is good practice to keep code out of the JSP. So my guess is that most people don't have a 400 line JSP to even be in the situtation of having this problem.
Consider refactoring the JSP to have some of the code in Java classes or a servlet. Especially the code not related to presentation. Another option is to use jsp:include to split up the JSP somewhat.
Hi Jeanne, Thanks for the repl and your sugegstion.
Actually I have tried to keep the business logic to minimum in the JSP by using classes and beans, but the file size grew more because I am trying to put all the code pertaining to various sub tabs into one JSP file using if/else condition. I will try using jsp:include directive instead to make it more managable.