You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Per Steffensen <st...@brics.dk> on 2000/11/08 00:36:38 UTC

Cocoon with Win98, PWS and "startserver" from JSDK2.1

Hi

I want to use Cocoon with the "Servlet enabled" server that comes with JSDK2.1 and on Win98 is started with "startserver.bat". As far as I can see this will start some server defined in java-class com.sun.web.shell.Startup.

I guess that I have to associate Cocoon with a web-path (as cocoon) by adding the following to servlets.properties:

cocoon.code=org.apache.cocoon.Cocoon
cocoon.initparams=properties=<some path>\cocoon.properties

This will enabled my to write something like the following in my browser to access the Cocoon "servlet":

http://<myhost>:<myport>/cocoon

But how will I then specify the actual .xml-fil that i want Cocoon to process for the some specifik request:

http://<myhost>:<myport>/cocoon/<my xml-file> ???
or
http://<myhost>:<myport>/cocoon?<some parametername>=<my xml-file> ???
or
do I have to something else ???

Should I maby write something in the mappings.properties file of JSDK2.1, associating .xml-files with Cocoon, and then making my URL something like http://<myhost>:<myport>/<my xml-file> ???

I have Win98 - and I also have PWS if that is of any use.

Please help me!!!

Thanx - Per Steffensen