RE: Why no struts.jar on the classpath?

2002-03-13 Thread Chappell, Simon P

True, but I NEED a good laugh on Fridays! :-)

Simon

-Original Message-
From: MARK NICHOLS [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:36 PM
To: [EMAIL PROTECTED]
Subject: RE: Why no struts.jar on the classpath?


Who cares! A good chuckle on Tuesday is better than a delayed 
laugh on Friday.

/\/\ark


___
- mark h. nichols
- dhsv022 at dhs dot state dot il dot us 

The best laid plans o'mice and men gang aft aglay...
-Robert Burns

 [EMAIL PROTECTED] 03/12/02 11:24AM 
It's not Friday yet! :-)

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 12, 2002 11:17 AM
To: 'Struts Users Mailing List'
Subject: RE: Why no struts.jar on the classpath?


Struts is actually a virus, though the delivery is a bit low-tech.

Mark

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 12, 2002 12:15 PM
To: Struts mailing list (E-mail)
Subject: Why no struts.jar on the classpath?


I want to start out by saying that I have read the fine manual 
and realise
that the struts FAQ says that the struts.jar must not be 
placed on the
application server's CLASSPATH.

My question to this list is why is this the case? I have a 
build manager who
very much wants only a single instance of any jar file to 
exist on a server
and they are asking why I am talking about putting multiples 
of the same
file on their machine?

Simon

-
Simon P. Chappell [EMAIL PROTECTED] 
Java Programming Specialist  www.landsend.com 
Lands' End, Inc.   (608) 935-4526

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

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


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



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



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




RE: Why no struts.jar on the classpath?

2002-03-13 Thread keithBacon

Yeah - MarkG we're becoming dependant on you. Make sure you don't take fridays
off! Perhaps people on this list will get really annoyed if we start having fun
on other days of the week. Personally I reckon anyone who delivers good replies
deserves some play-time. Especially since the standard is good (of the jokes I
mean - I'm too inexperienced to speak for Marks replies!).

--- Chappell, Simon P [EMAIL PROTECTED] wrote:
 True, but I NEED a good laugh on Fridays! :-)
 
 Simon
 
 -Original Message-
 From: MARK NICHOLS [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 12, 2002 12:36 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Why no struts.jar on the classpath?
 
 
 Who cares! A good chuckle on Tuesday is better than a delayed 
 laugh on Friday.
 
 /\/\ark
 
 
 ___
 - mark h. nichols
 - dhsv022 at dhs dot state dot il dot us 
 
 The best laid plans o'mice and men gang aft aglay...
 -Robert Burns
 
  [EMAIL PROTECTED] 03/12/02 11:24AM 
 It's not Friday yet! :-)
 
 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, March 12, 2002 11:17 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Why no struts.jar on the classpath?
 
 
 Struts is actually a virus, though the delivery is a bit low-tech.
 
 Mark
 
 -Original Message-
 From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, March 12, 2002 12:15 PM
 To: Struts mailing list (E-mail)
 Subject: Why no struts.jar on the classpath?
 
 
 I want to start out by saying that I have read the fine manual 
 and realise
 that the struts FAQ says that the struts.jar must not be 
 placed on the
 application server's CLASSPATH.
 
 My question to this list is why is this the case? I have a 
 build manager who
 very much wants only a single instance of any jar file to 
 exist on a server
 and they are asking why I am talking about putting multiples 
 of the same
 file on their machine?
 
 Simon
 
 -
 Simon P. Chappell [EMAIL PROTECTED] 
 Java Programming Specialist  www.landsend.com 
 Lands' End, Inc.   (608) 935-4526
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 --
 To 
 unsubscribe, e-mail:   
 mailto:struts-user-[EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:struts-user-[EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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




Why no struts.jar on the classpath?

2002-03-12 Thread Chappell, Simon P

I want to start out by saying that I have read the fine manual and realise that the 
struts FAQ says that the struts.jar must not be placed on the application server's 
CLASSPATH.

My question to this list is why is this the case? I have a build manager who very much 
wants only a single instance of any jar file to exist on a server and they are asking 
why I am talking about putting multiples of the same file on their machine?

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

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




RE: Why no struts.jar on the classpath?

2002-03-12 Thread Galbreath, Mark

Struts is actually a virus, though the delivery is a bit low-tech.

Mark

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:15 PM
To: Struts mailing list (E-mail)
Subject: Why no struts.jar on the classpath?


I want to start out by saying that I have read the fine manual and realise
that the struts FAQ says that the struts.jar must not be placed on the
application server's CLASSPATH.

My question to this list is why is this the case? I have a build manager who
very much wants only a single instance of any jar file to exist on a server
and they are asking why I am talking about putting multiples of the same
file on their machine?

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

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

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




RE: Why no struts.jar on the classpath?

2002-03-12 Thread Chappell, Simon P

It's not Friday yet! :-)

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 11:17 AM
To: 'Struts Users Mailing List'
Subject: RE: Why no struts.jar on the classpath?


Struts is actually a virus, though the delivery is a bit low-tech.

Mark

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:15 PM
To: Struts mailing list (E-mail)
Subject: Why no struts.jar on the classpath?


I want to start out by saying that I have read the fine manual 
and realise
that the struts FAQ says that the struts.jar must not be 
placed on the
application server's CLASSPATH.

My question to this list is why is this the case? I have a 
build manager who
very much wants only a single instance of any jar file to 
exist on a server
and they are asking why I am talking about putting multiples 
of the same
file on their machine?

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

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

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


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




Re: Why no struts.jar on the classpath?

2002-03-12 Thread keithBacon

Below is an extract from the link below. I don't really understand it that well
but if no guru answers. You might search the archives further I'm sure I've
seen this answered there but didn't find it.
It's something to do with which class loader loads the struts classes. It has
to be your web-apps class loader not the server class loader
Sorry this is not as witty as Mr Galbreath's answer  probably just as
useless.
===
So, just like a call to a struts class in a web-app will need to be referenced
under the WEB-INF (which is why we place the struts.jar file in the WEB-INF/lib
directory, you also need to have a root-relative path for any Application
Resources.  I place mine in the WEB-INF/classes folder as that is
automatically referenced by my web container.

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg11825.html





--- Chappell, Simon P [EMAIL PROTECTED] wrote:
 I want to start out by saying that I have read the fine manual and realise
 that the struts FAQ says that the struts.jar must not be placed on the
 application server's CLASSPATH.
 
 My question to this list is why is this the case? I have a build manager who
 very much wants only a single instance of any jar file to exist on a server
 and they are asking why I am talking about putting multiples of the same file
 on their machine?
 
 Simon
 
 -
 Simon P. Chappell [EMAIL PROTECTED]
 Java Programming Specialist  www.landsend.com
 Lands' End, Inc.   (608) 935-4526
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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




Re: Why no struts.jar on the classpath?

2002-03-12 Thread Mikael Eriksson


The long answer (or several long answers, at least one good written by Craig)
can be found by searching the archives of this list.

The short answer is that it is a classloader issue.

The classes in struts.jar instantiates your action classes and formbean 
classes.
Those classes _really_ _really_ should be packaged with the webapp and
stored below the WEB-INF/classes dir (or inside a jar in WEB-INF/lib if you
really want to jar them).
  If struts.jar is in WEB-INF/lib it will find your classes and everything will
be good :-).
  If struts.jar is somewhere else in the classpath, the classes inside your 
webapp
will not be found by the struts.jar classes and you will see strange errors 
when
trying to run things.

  Regards
  Mikael




At 11:14 2002-03-12 -0600, you wrote:
I want to start out by saying that I have read the fine manual and realise 
that the struts FAQ says that the struts.jar must not be placed on the 
application server's CLASSPATH.

My question to this list is why is this the case? I have a build manager 
who very much wants only a single instance of any jar file to exist on a 
server and they are asking why I am talking about putting multiples of the 
same file on their machine?

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526

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



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