struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Payne" <>
Subject RE: [OT] Eclipse and webapp organization
Date Thu, 31 Oct 2002 18:17:39 GMT
Spoke too soon. Nevermind that last question.

-----Original Message-----
From: David Graham []
Sent: Thursday, October 31, 2002 11:53 AM
Subject: Re: [OT] Eclipse and webapp organization

There are lots of ways to do it.  Eclipse projects live in
$ECLIPSE_HOME/workspace by default but you can point eclipse to an outside
project folder.  I have one java project for each web-app.  It contains my
java source under /WEB-INF/src and builds into /WEB-INF/classes.  My jsps
just live in directories under the project root.

The tomcat plugin is helpful for web development:


>From: "Dan Payne" <>
>Reply-To: "Struts Users Mailing List" <>
>To: <>
>Subject: [OT] Eclipse and webapp organization
>Date: Thu, 31 Oct 2002 11:42:54 -0600
>I've started looking at Eclipse (thanks to the suggestions of many on this
>list) and was curious how other Struts developers organized their webapps
>w/in Eclipse.  I currently develop each webapp at
>C:\webapps\<app-name>\pre (preproduction: contains image templates, stock
>logos, etc)
>C:\webapps\<app-name>\build.xml (for use with ant)
>C:\webapps\<app-name>\startup.bat (to startup tomcat instance)
>C:\webapps\<app-name>\shutdown.bat (to shutdown tomcat instance)
>Ant deploys to the relative context at
>Each context has its own tomcat instance.
>Anyways, I've been doing it this way for quite some time now and am
>consequently suffering tunnel vision. How can I smoothly import my existing
>apps (these contain many, many JSPs and lots of java packages) into
>I tried creating a new project with the base set at c:\webapps\<app-name>
>but that threw thousands of errors with my classes, mostly "The import
><package-name> cannot be resolved." Do I need to set up separate projects,
>one for my java classes and the other for my JSPs, or do I need a
>reshuffling of my folders/files? Any help would be appreciated.  I checked
>the documentation but didn't see any examples on how to integrate both,
>seems to me to be, a simple project and a java project. I really like what
>see with eclipse and would like to get started with it.
>Thanks again, all.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Get faster connections -- switch to MSN Internet Access!

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message