Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2004

Tip: Looking for answers? Try searching our database.

Using Eclipse with JSP's... *really* dumb question...

Thread view: 
Joe Emenaker - 25 Jun 2004 01:15 GMT
Okay, this is a little more inane than most of the "I want to use
Eclipse to develop JSP...." posts.

I'm not asking for keyword completion or syntax highlighting or
debugging. All I want is to be able to configure Eclipse so that I can
point it at one of my webapp directories and have it put the JSP's in
that directory and put compiled *classes* down in ./WEB-INF/classes.

What's an easy way to do this?

- Joe
Shane Mingins - 25 Jun 2004 03:19 GMT
> Okay, this is a little more inane than most of the "I want to use
> Eclipse to develop JSP...." posts.
[quoted text clipped - 7 lines]
>
> - Joe

I do not use Eclipse (so perhaps there is a special *Eclipse* alternative)
but I thought the standard/common way of deploying WAR files is using ANT??
http://ant.apache.org/

Shane

Signature

The most intelligent Java IDE around -- http://www.intellij.com/idea/

P.Hill - 25 Jun 2004 05:01 GMT
> All I want is to be able to configure Eclipse so that I can
> point it at one of my webapp directories and have it put the JSP's in
> that directory and put compiled *classes* down in ./WEB-INF/classes.

In Eclipse 2.1 Right click the project name in the package explorer | properties
or Project | Properties

Click Java Build Path

Now I went right to this dialog and took a second to notice the one line
field at the *bottom* for 'Default output folder'
which is different than the big right-hand side when you click the
sourse tab -- 'Source Folders on Build Path', thus you can have
directories that contain source and are part of the project and
another directory in which to place all the classes.

FWIW, that is one thing the sysdeo tomcat plugin does when specify a tomcat
project.  It sets this up properly, then does a trick in the tomcat which points
back to your development directories, so you don't even have to
move any files to get tomcat to see them.  It works for me.

HTH,

-Paul
Andrew Phillipo - 25 Jun 2004 20:09 GMT
> Okay, this is a little more inane than most of the "I want to use
> Eclipse to develop JSP...." posts.
[quoted text clipped - 7 lines]
>
> - Joe

Get LomBoz (http://www.objectlearn.com/) for JSP syntax highlighting -
as well as loads of cool J2EE stuff.  To add a directory on the file
system to your project do the following:

Right click in the navigator -> Click New -> A Dialog will appear ->
Click Advanced -> Tick link to folder in the File System -> Select your
JSP directory with the browse button.

Note that I have it set up for my project to enable files to be built to
the correct directories on the disk while source stays as part of the
project, but I'm really not at all sure how I did it!

Good Luck.

Andy
solo - 01 Jul 2004 07:18 GMT
please try Eclipse plug-in ( Lomboz )
if you any question ,go here
http://www.eclipse-plugins.org

"Joe Emenaker" <joe@emenaker.com>
??????:c9e5e83b.0406241615.61b14e58@posting.google.com...
> Okay, this is a little more inane than most of the "I want to use
> Eclipse to develop JSP...." posts.
[quoted text clipped - 7 lines]
>
> - Joe


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.