cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: PERSONAL JAVA CLASSES
Date Fri, 26 Apr 2002 12:13:50 GMT
The correct way is to put compiled classes into WEB-INF/classes/ - this
works for me if I restart Tomcat.

Either you can put your JAR into WEB-INF/lib , but this can require also to
add an entry to WEB-INF/Manifest.mf.

The last possibility I would use is edit web.xml to add an extra classpath.

What is your servlet engine? If Tomcat 4.x then to first two options work
for sure.

--
  Konstantin

----- Original Message -----
From: "TREGAN Fabien" <fabien.tregan@airbus.com>
To: <cocoon-users@xml.apache.org>
Sent: Friday, April 26, 2002 4:03 PM
Subject: RE: PERSONAL JAVA CLASSES


mmm,

I tryed to put my sources and classes in WEB-INF/classes/, it did not work.
I tryed to put my classes in WEB-INF/classes/, it did not work.
I finaly tryed to put classes in a .jar in WEB-INF/classes/, it did work...
But i really dont like to re-jar my classes at each compilation, can I avoid
this ?

fabien.

>-----Message d'origine-----
>De: yuryx [mailto:yuryx@mobicomk.donpac.ru]
>Date: jeudi 7 mars 2002 12:55
>À: cocoon-users@xml.apache.org
>Objet: Re: PERSONAL JAVA CLASSES
>
>
>Istvan Beszteri wrote:
>
>>.../cocoon/WEB-INF/classes/
>>works for me,
>>but you can check the WEB-INF/web.xml, how to define extra calsspaths.
>>Br,
>> Istvan
>>
>>On Thursday 07 March 2002 13:41, you wrote:
>>
>>>Hi,
>>>
>>>Where must I put "my personal Java classes" in Cocoon 2?
>(which directory?)
>>>
>>>Thanks
>>>
>>>
>>>---
>>>Outgoing mail is certified Virus Free. (CopyRight FLASHH!)
>>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>>Version: 6.0.330 / Virus Database: 184 - Release Date: 28/02/02
>>>
>>>
>>>---------------------------------------------------------------------
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>>
>>>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>>
>>
>>---------------------------------------------------------------------
>>Please check that your question has not already been answered in the
>>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>>
>>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>Or .../cocoon/WEB-INF/lib (for compiled classes) and don't check
>WEB-INF/web.xml :)
>
>Regards.
>Yury.
>
>
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message