cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: cocoon web application
Date Fri, 12 Apr 2002 14:50:27 GMT
Bogdan,

ok, I'll believe you.

1) to put an app under a directory other than cocoon, just specify
the location of the sub-sitemap using the "file:" prefix, like in:

<map:pipeline>
	<map:match pattern="istat/**">
		<map:mount uri-prefix="istat" src="file:///d:/web/istat/"
check-reload="yes"
		reload-method="synchron"/>
	</map:match>
</map:pipeline>

2) to get rid of the "cocoon" in your URL you may:
2.1) make the cocoon.war the ROOT servlet of Tomcat by renaming it... which
I never did, hence can help you only up to a point.
2.2) Follow the advice of Bert about renaming cocoon.war
2.2) use the addressing-to-another-URL feature of IIS. This means the user
will type: http://host:8080/your_app/index.html and the system will ask
Tomcat for the http://host:8080/cocoon/your_app/index.html page.

Best regards,


---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Bogdan Cirstea [mailto:b.cirstea@finsiel.ro]
> Sent: Friday, April 12, 2002 3:37 PM
> To: cocoon-users@xml.apache.org; lmorandini@ieee.org
> Subject: Re: cocoon web application
>
>
> i did that, believe me
> something i missed, but i don't know what.
> in faq is an example but for apache+cocoon.
> maybe a step by step tutorial, don't know
> anyway, i'll keep trying
> ----- Original Message -----
> From: "Luca Morandini" <luca.morandini1@tin.it>
> To: <cocoon-users@xml.apache.org>
> Sent: Friday, April 12, 2002 4:35 PM
> Subject: RE: cocoon web application
>
>
> > Bogdan,
> >
> > may you take a look at the FAQ, first ?
> >
> > Best regards,
> >
> > ---------------------------------------------
> >                Luca Morandini
> >                GIS Consultant
> >               lmorandini@ieee.org
> > http://utenti.tripod.it/lmorandini/index.html
> > ---------------------------------------------
> >
> >
> > > -----Original Message-----
> > > From: Bogdan Cirstea [mailto:b.cirstea@finsiel.ro]
> > > Sent: Friday, April 12, 2002 3:22 PM
> > > To: cocoon-users@xml.apache.org
> > > Subject: cocoon web application
> > >
> > >
> > > hi!
> > > i want to develop an web application based on cocoon technology.
> > > can anyone
> > > tell me which is the basic structure of such an application?
> > > i want to locate the application under other dir than
> > > tomcat/webapps/cocoon/my_application and i want to access
> with something
> > > like localhost:8080/my_application.
> > > what files do i have to modify and how ?
> > > i different sollutions but it didn't work. i used tomcat 4.0.1, cocoon
> > > 2.0.2, jdk1.3.1 under win2000.
> > >
> > > tks
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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