Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Eclipse and NetBeans issues with JSTL/JSP project

0 views
Skip to first unread message

Damon Getsman

unread,
Aug 25, 2008, 4:00:39 PM8/25/08
to
Just began working on my first JSTL/JSP AJAX project a few weeks ago.
When I first started it, I was taking over on the project from a
developer that coded it before and ended up quitting. He exported it
as a NetBeans project, so I installed NetBeans and began using that to
develop and work on the project. Unfortunately I ran into an issue
where NetBeans would randomly crash... I didn't even have to be
invoking a function of NetBeans, I could just be scrolling or typing
in the text editor and it would just freeze and I'd lose any unsaved
changes. Window wouldn't even update.

So after a few encounters with this, I ended up researching for quite
awhile until I figured out finally how to import a NetBeans project
into Eclipse. I would've just gone with vim & tomcat, but I'm really
not sure how to publish this project into my own tomcat instance yet,
so I've been relying on the internal web viewers on the IDEs that let
me view my project, but I digress. I got the project into Eclipse
eventually and had no problems until the text editor (Ganymede
version) began taking a terribly long time typing in the text for any
HTML attribute tags (ie <jsp:setProperty name="blah"... When I would
type the opening quotations before 'blah', it would take 30 seconds+
for each character to pop up, with the wait getting successively
longer as I entered more characters).

Eventually this wait became insurmountable, as some of the quoted
strings that I had to type in were over 60 characters long, and would
take over 30 minutes to pop up after I typed them, with Eclipse using
100% of the CPU time during this interval.

So I started editing the source with VIM within the eclipse projects
directory and would only load Eclipse when I needed to test my changes
with the web viewing environment within the IDE. Well, this worked a
few times (although I'd have to press F5 to resync each time), and
then once I left VIM open while I loaded eclipse. Now it refuses to
even build and show my project within the environment because it's not
happy about there not being a VIM swapfile there. If I '/usr/bin/
touch' the swapfile to create it, it still won't let me display it
because the swapfile is 'out of sync'. F5 to resync doesn't work any
more, either.

Are there any Linux editors with built in web viewing ability for JSTL/
JSP AJAX projects that aren't buggy as hell like this and/or does
anybody have any suggestions on how I can 'fix' Eclipse so it'll begin
letting me view my page again? I'm completely unable to work on my
project right now JUST because of the IDE issues.

Thanks in advance.

0 new messages