cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: confusion with C2!
Date Sat, 09 Feb 2002 14:58:24 GMT
> From: vishal@klio.Central.Sun.COM [mailto:vishal@klio.Central.Sun.COM]
On
> 
> Vadim,
> 
> Let me explain. I have worked with java servlets before, and used
> several servlet engines such as jakarta tomcat and iplanet in the
past.

Great, than you should know that if you deploy Cocoon as
C:/Tomcat/webapps/cocoon, then all files goes under this directory -
Cocoon nowadays is trying to behave as regular servlet as much as
possible. Then, to change /cocoon/ part in the URL or to change
directory - just edit server.xml of the Tomcat.

Note: you still can access files outside of Cocoon's context by
specifying absolute file URLs in the sitemap. Try
file://var/tmp/whatever - it should work as well.


> The problem is not deploying these, but understanding specific
> configurations which aren't well documented IMHO.

I totally agree with you here that Cocoon's documentation is not the
best one (to say at least).


> It's been very recent
> since I got into the XML technology (specifically with cocoon) so what
> im really asking for is better sharing of knowledge amongst us...

Use archives, thing is that most questions are already answered on this
list more than one time.

If you had a question, and found an answer in archive, and want to share
this knowledge - send in a patch to the documentation. It always
requires some improvement...

> 
> Thanks for your help,
> Vishal

Regards,
Vadim


> 
> Vadim Gritsenko wrote:
> >
> > > From: Vishal.Khatnani@Sun.COM [mailto:Vishal.Khatnani@Sun.COM]
> > >
> > > cocoon users,
> > >
> > > Im confused. I don't understand why my xml files have to be in the
> > cocoon
> > > directory e.g. ...webapps/cocoon/proj/file.xml
> >
> > <snip/>
> >
> > > Please help! I am desperate!
> >
> > Dear Vishal,
> >
> > As Sun employee you should teach everybody how to deploy web
> > applications, were to put all the class files, etc. Now I see that
you
> > do not have even slightest understanding of how web applications are
> > working. Before you ask other questions, please read specifications
> > published on Sun's website:
> >
> > http://java.sun.com/products/servlet/download.html
> >
> > Also, consider installing and learning one of the servlet engines
> > available out there. Tomcat is among others available for free
under:
> >
> > http://jakarta.apache.org/tomcat/
> >
> > Regards,
> > Vadim
> >


---------------------------------------------------------------------
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