RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread James Mitchell

For working on the distribution itself:
1. Create a new project (from the Project Manager window)
2. Download the struts source distribution (or use built-in cvs to get
   the module)
3. Extract to a local drive (if on windoze, try not to have spaces in
   the directory (such as C:\My Documents)
4. Mount the directory you unzipped to
5. Copy build.properties.sample to build.properties and customize to point
   to where you keep those jars
6. Mount each of the source directories that you wish to work in
   For me, I use:
  jakarta-struts/src/share
  jakarta-struts/src/example
7. Mount each jar referenced in the build.properties file
   * Note - NetBeans has built in support for auto-mounting these if your
build.xml specifies the jars in the project.classpath, but
that's not the case for the default struts distribution.


For doing your own thing:
1. Create a new project (from the Project Manager window)
2. Download (or build for yourself) the required jars
   *See the jakarta-struts-1.1-b2/webapps/struts-example.war
3. Create a directory (I use a structure similar to how the webapp will exist)
   +-/my-project
 |
 +-/WEB-INF
   |
   +-/classes
   |
   +-/lib
   |
   +-/src

4. Create a build.xml for your project (so ant can build and war it for you).
   I recommend you use an existing file to get a jump start on development.
   Actually, I recommend you re-use someone's entire existing project.  That
   will surely get you ahead of the game.
5. Mount that directory
   * If you specified the build classpath and the jars are there, NetBeans
 will mount the jars for you automatically.
6. Mount each of the source directories that you wish to work in
  /myproject/WEB-INF/src

7. Always work in the node in #6 when modifying your java files.



I'll also take this opportunity to tell you that I recommend using Eclipse.  I
was a NetBeans advocate for the longest time, but a few weeks ago several
discussion had prompted me to try out Eclipse, and I can say without a doubt,
that it is much more mature an IDE than NetBeans.  And since they are both Open
Source.heywhy not?

One definite advantage Eclipse has over NetBeans is that Eclipse is built using
SWT (Standard Widget Toolkit).  That means that the IDE is written in Java, but
the underlying framework uses native JNDI calls the OS API.or, in other
words..its fast as Hell on windows.

Anyone who has left NetBeans running in the background overnight on a laptop
knows the pain of doing an Alt+Tab back to the IDE and seeing how Swing pulls
its rather large A## up from the swap fileheh heh :)

Hope that will help you get started.  I was planning to post a how-to for doing
this and a few other tasks with NetBeans, Eclipse, and JBuilder.  I even have
quite a few screenshots taken, but I just haven't finished it.

Good Luck with it!!!

--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Thursday, November 21, 2002 12:01 PM
 To: [EMAIL PROTECTED]
 Subject: [MVC-Programmers] RE: MVC-Programmers digest, Vol 1 #94 - 7
 msgs


 Hi,
   I am new to struts framework. Can anybody tell how to setup struts
 in Netbean IDE..
 Thanks
 Kaja.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 20, 2002 3:00 PM
 To: [EMAIL PROTECTED]
 Subject: MVC-Programmers digest, Vol 1 #94 - 7 msgs


 Send MVC-Programmers mailing list submissions to
   [EMAIL PROTECTED]

 To subscribe or unsubscribe via the World Wide Web, visit
   http://www.netbean.net/mailman/listinfo/mvc-programmers
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

 You can reach the person managing the list at
   [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of MVC-Programmers digest...


 Today's Topics:

1. How to access the Struts Connection Pool  from an ActionForm
 (Steven Citron-Pousty)
2. Re: How to access the Struts Connection Pool  from an
 ActionForm (V. Cekvenich)
3. Re: How to access the Struts Connection Pool  from an
 ActionForm (V. Cekvenich)
4. [Fwd: ANNOUNCE: FormsPlayer beta for IE 6 is now based on Candidate
Recommendation] (V. Cekvenich)
5. [Fwd: ANNOUNCE: FormsPlayer beta for IE 6 is now based on Candidate
Recommendation] (V. Cekvenich)

 --__--__--

 Message: 1
 From: Steven Citron-Pousty [EMAIL PROTECTED]
 Date: Tue, 19 Nov 2002 17:01:41 -0500
 Organization: Basebeans.com
 To: [EMAIL PROTECTED]
 Subject: [MVC-Programmers] How to access the Struts Connection Pool
 from an ActionForm

 Greetings all:I am trying to populate the 

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Karr, David
 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]

 One definite advantage Eclipse has over NetBeans is that 
 Eclipse is built using
 SWT (Standard Widget Toolkit).  That means that the IDE is 
 written in Java, but
 the underlying framework uses native JNDI calls the OS 

Gosh, James, I would think that using remote JNDI calls to draw graphics would be 
really expensive! 

;)

(Methinks he meant JNI.)

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread James Mitchell
 -Original Message-
 From: Karr, David [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 21, 2002 1:36 PM
 To: Struts Users Mailing List
 Subject: RE: Can anybody tell how to setup struts in Netbeans IDE


  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]

  One definite advantage Eclipse has over NetBeans is that
  Eclipse is built using
  SWT (Standard Widget Toolkit).  That means that the IDE is
  written in Java, but
  the underlying framework uses native JNDI calls the OS

 Gosh, James, I would think that using remote JNDI calls to draw
 graphics would be really expensive!

 ;)

 (Methinks he meant JNI.)


Me thinks you right.

--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Andy Kriger
Out of curiosity, how well does Eclipse run on old hardware. I have a
Pentium laptop w/96M RAM - NB is my usual IDE but that's right out, even
JEdit is a bit painful to work it.

thx

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 13:31
To: [EMAIL PROTECTED]
Cc: Struts Users Mailing List
Subject: RE: Can anybody tell how to setup struts in Netbeans IDE



For working on the distribution itself:
1. Create a new project (from the Project Manager window)
2. Download the struts source distribution (or use built-in cvs to get
   the module)
3. Extract to a local drive (if on windoze, try not to have spaces in
   the directory (such as C:\My Documents)
4. Mount the directory you unzipped to
5. Copy build.properties.sample to build.properties and customize to point
   to where you keep those jars
6. Mount each of the source directories that you wish to work in
   For me, I use:
  jakarta-struts/src/share
  jakarta-struts/src/example
7. Mount each jar referenced in the build.properties file
   * Note - NetBeans has built in support for auto-mounting these if your
build.xml specifies the jars in the project.classpath, but
that's not the case for the default struts distribution.


For doing your own thing:
1. Create a new project (from the Project Manager window)
2. Download (or build for yourself) the required jars
   *See the jakarta-struts-1.1-b2/webapps/struts-example.war
3. Create a directory (I use a structure similar to how the webapp will
exist)
   +-/my-project
 |
 +-/WEB-INF
   |
   +-/classes
   |
   +-/lib
   |
   +-/src

4. Create a build.xml for your project (so ant can build and war it for
you).
   I recommend you use an existing file to get a jump start on development.
   Actually, I recommend you re-use someone's entire existing project.  That
   will surely get you ahead of the game.
5. Mount that directory
   * If you specified the build classpath and the jars are there, NetBeans
 will mount the jars for you automatically.
6. Mount each of the source directories that you wish to work in
  /myproject/WEB-INF/src

7. Always work in the node in #6 when modifying your java files.



I'll also take this opportunity to tell you that I recommend using Eclipse.
I
was a NetBeans advocate for the longest time, but a few weeks ago several
discussion had prompted me to try out Eclipse, and I can say without a
doubt,
that it is much more mature an IDE than NetBeans.  And since they are both
Open
Source.heywhy not?

One definite advantage Eclipse has over NetBeans is that Eclipse is built
using
SWT (Standard Widget Toolkit).  That means that the IDE is written in Java,
but
the underlying framework uses native JNDI calls the OS API.or, in other
words..its fast as Hell on windows.

Anyone who has left NetBeans running in the background overnight on a laptop
knows the pain of doing an Alt+Tab back to the IDE and seeing how Swing
pulls
its rather large A## up from the swap fileheh heh :)

Hope that will help you get started.  I was planning to post a how-to for
doing
this and a few other tasks with NetBeans, Eclipse, and JBuilder.  I even
have
quite a few screenshots taken, but I just haven't finished it.

Good Luck with it!!!

--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Thursday, November 21, 2002 12:01 PM
 To: [EMAIL PROTECTED]
 Subject: [MVC-Programmers] RE: MVC-Programmers digest, Vol 1 #94 - 7
 msgs


 Hi,
   I am new to struts framework. Can anybody tell how to setup struts
 in Netbean IDE..
 Thanks
 Kaja.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, November 20, 2002 3:00 PM
 To: [EMAIL PROTECTED]
 Subject: MVC-Programmers digest, Vol 1 #94 - 7 msgs


 Send MVC-Programmers mailing list submissions to
   [EMAIL PROTECTED]

 To subscribe or unsubscribe via the World Wide Web, visit
   http://www.netbean.net/mailman/listinfo/mvc-programmers
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

 You can reach the person managing the list at
   [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of MVC-Programmers digest...


 Today's Topics:

1. How to access the Struts Connection Pool  from an ActionForm
 (Steven Citron-Pousty)
2. Re: How to access the Struts Connection Pool  from an
 ActionForm (V. Cekvenich)
3. Re: How to access the Struts Connection Pool  from an
 ActionForm (V. Cekvenich)
4. [Fwd: ANNOUNCE: FormsPlayer beta for IE 6 is now based on Candidate
Recommendation] (V

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread James Mitchell
Well, I would know.  When I bought this laptop months ago, I gave my old one
away.  It was a PII 233 w/64MB.  I ran NetBeans on it one time..and never
tried it againLOL.  That was about the most painful thing I've watched in
quite a while.  I thought I was smelling smoke for a few minutes.

So my new laptop is a 1 gig with 128 (which I upgraded about 2 weeks ago to
512), so Eclipse is now SCREEMING

--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing


 -Original Message-
 From: Andy Kriger [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 21, 2002 1:42 PM
 To: Struts Users Mailing List; [EMAIL PROTECTED]
 Subject: RE: Can anybody tell how to setup struts in Netbeans IDE


 Out of curiosity, how well does Eclipse run on old hardware. I have a
 Pentium laptop w/96M RAM - NB is my usual IDE but that's right out, even
 JEdit is a bit painful to work it.

 thx

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 21, 2002 13:31
 To: [EMAIL PROTECTED]
 Cc: Struts Users Mailing List
 Subject: RE: Can anybody tell how to setup struts in Netbeans IDE



 For working on the distribution itself:
 1. Create a new project (from the Project Manager window)
 2. Download the struts source distribution (or use built-in cvs to get
the module)
 3. Extract to a local drive (if on windoze, try not to have spaces in
the directory (such as C:\My Documents)
 4. Mount the directory you unzipped to
 5. Copy build.properties.sample to build.properties and customize to point
to where you keep those jars
 6. Mount each of the source directories that you wish to work in
For me, I use:
   jakarta-struts/src/share
   jakarta-struts/src/example
 7. Mount each jar referenced in the build.properties file
* Note - NetBeans has built in support for auto-mounting these if your
 build.xml specifies the jars in the project.classpath, but
 that's not the case for the default struts distribution.


 For doing your own thing:
 1. Create a new project (from the Project Manager window)
 2. Download (or build for yourself) the required jars
*See the jakarta-struts-1.1-b2/webapps/struts-example.war
 3. Create a directory (I use a structure similar to how the webapp will
 exist)
+-/my-project
  |
  +-/WEB-INF
|
+-/classes
|
+-/lib
|
+-/src

 4. Create a build.xml for your project (so ant can build and war it for
 you).
I recommend you use an existing file to get a jump start on development.
Actually, I recommend you re-use someone's entire existing project.  That
will surely get you ahead of the game.
 5. Mount that directory
* If you specified the build classpath and the jars are there, NetBeans
  will mount the jars for you automatically.
 6. Mount each of the source directories that you wish to work in
   /myproject/WEB-INF/src

 7. Always work in the node in #6 when modifying your java files.



 I'll also take this opportunity to tell you that I recommend using Eclipse.
 I
 was a NetBeans advocate for the longest time, but a few weeks ago several
 discussion had prompted me to try out Eclipse, and I can say without a
 doubt,
 that it is much more mature an IDE than NetBeans.  And since they are both
 Open
 Source.heywhy not?

 One definite advantage Eclipse has over NetBeans is that Eclipse is built
 using
 SWT (Standard Widget Toolkit).  That means that the IDE is written in Java,
 but
 the underlying framework uses native JNDI calls the OS API.or, in other
 words..its fast as Hell on windows.

 Anyone who has left NetBeans running in the background overnight on a laptop
 knows the pain of doing an Alt+Tab back to the IDE and seeing how Swing
 pulls
 its rather large A## up from the swap fileheh heh :)

 Hope that will help you get started.  I was planning to post a how-to for
 doing
 this and a few other tasks with NetBeans, Eclipse, and JBuilder.  I even
 have
 quite a few screenshots taken, but I just haven't finished it.

 Good Luck with it!!!

 --
 James Mitchell
 Software Engineer/Struts Evangelist
 http://www.open-tools.org

 If you were plowing a field, which would you rather use? Two strong oxen or
 1024 chickens?
 - Seymour Cray (1925-1996), father of supercomputing


  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of
  [EMAIL PROTECTED]
  Sent: Thursday, November 21, 2002 12:01 PM
  To: [EMAIL PROTECTED]
  Subject: [MVC-Programmers] RE: MVC-Programmers digest, Vol 1 #94 - 7
  msgs
 
 
  Hi,
I am new to struts framework. Can anybody tell how to setup struts
  in Netbean IDE..
  Thanks
  Kaja.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL

RE: Can anybody tell how to setup struts in Netbeans IDE

2002-11-21 Thread Andy Kriger
How about Eclipse on old hdwr?

I already know how much NB struggles :)
(though in its defense, it's really Swing that struggles, NB does more
working w/in Swings performance constraints than any app I've seen)

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 13:46
To: Struts Users Mailing List
Subject: RE: Can anybody tell how to setup struts in Netbeans IDE


Well, I would know.  When I bought this laptop months ago, I gave my old one
away.  It was a PII 233 w/64MB.  I ran NetBeans on it one time..and
never
tried it againLOL.  That was about the most painful thing I've watched
in
quite a while.  I thought I was smelling smoke for a few minutes.

So my new laptop is a 1 gig with 128 (which I upgraded about 2 weeks ago to
512), so Eclipse is now SCREEMING

--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing


 -Original Message-
 From: Andy Kriger [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 21, 2002 1:42 PM
 To: Struts Users Mailing List; [EMAIL PROTECTED]
 Subject: RE: Can anybody tell how to setup struts in Netbeans IDE


 Out of curiosity, how well does Eclipse run on old hardware. I have a
 Pentium laptop w/96M RAM - NB is my usual IDE but that's right out, even
 JEdit is a bit painful to work it.

 thx

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 21, 2002 13:31
 To: [EMAIL PROTECTED]
 Cc: Struts Users Mailing List
 Subject: RE: Can anybody tell how to setup struts in Netbeans IDE



 For working on the distribution itself:
 1. Create a new project (from the Project Manager window)
 2. Download the struts source distribution (or use built-in cvs to get
the module)
 3. Extract to a local drive (if on windoze, try not to have spaces in
the directory (such as C:\My Documents)
 4. Mount the directory you unzipped to
 5. Copy build.properties.sample to build.properties and customize to point
to where you keep those jars
 6. Mount each of the source directories that you wish to work in
For me, I use:
   jakarta-struts/src/share
   jakarta-struts/src/example
 7. Mount each jar referenced in the build.properties file
* Note - NetBeans has built in support for auto-mounting these if your
 build.xml specifies the jars in the project.classpath, but
 that's not the case for the default struts distribution.


 For doing your own thing:
 1. Create a new project (from the Project Manager window)
 2. Download (or build for yourself) the required jars
*See the jakarta-struts-1.1-b2/webapps/struts-example.war
 3. Create a directory (I use a structure similar to how the webapp will
 exist)
+-/my-project
  |
  +-/WEB-INF
|
+-/classes
|
+-/lib
|
+-/src

 4. Create a build.xml for your project (so ant can build and war it for
 you).
I recommend you use an existing file to get a jump start on
development.
Actually, I recommend you re-use someone's entire existing project.
That
will surely get you ahead of the game.
 5. Mount that directory
* If you specified the build classpath and the jars are there, NetBeans
  will mount the jars for you automatically.
 6. Mount each of the source directories that you wish to work in
   /myproject/WEB-INF/src

 7. Always work in the node in #6 when modifying your java files.



 I'll also take this opportunity to tell you that I recommend using
Eclipse.
 I
 was a NetBeans advocate for the longest time, but a few weeks ago several
 discussion had prompted me to try out Eclipse, and I can say without a
 doubt,
 that it is much more mature an IDE than NetBeans.  And since they are both
 Open
 Source.heywhy not?

 One definite advantage Eclipse has over NetBeans is that Eclipse is built
 using
 SWT (Standard Widget Toolkit).  That means that the IDE is written in
Java,
 but
 the underlying framework uses native JNDI calls the OS API.or, in
other
 words..its fast as Hell on windows.

 Anyone who has left NetBeans running in the background overnight on a
laptop
 knows the pain of doing an Alt+Tab back to the IDE and seeing how Swing
 pulls
 its rather large A## up from the swap fileheh heh :)

 Hope that will help you get started.  I was planning to post a how-to for
 doing
 this and a few other tasks with NetBeans, Eclipse, and JBuilder.  I even
 have
 quite a few screenshots taken, but I just haven't finished it.

 Good Luck with it!!!

 --
 James Mitchell
 Software Engineer/Struts Evangelist
 http://www.open-tools.org

 If you were plowing a field, which would you rather use? Two strong oxen
or
 1024 chickens?
 - Seymour Cray (1925-1996), father of supercomputing


  -Original Message-
  From