comments included.

- james

Luc Saint-Elie wrote:
>
> Le 02:54 19/08/99 -0700, James Todd a écrit:
>
>  >hi luc, et al -
>
>   >       regarding tomcat and cocoon ... i was able to get
>   >       cocoon to print out a status page for the following
>   >       logical request:
>
>   >               localhost:8080/hello.xml
>
> With Tomcat 1.0-ea this url (I fact I use port 80 and my server is an
> intranet server with a 192.168.0.180 IP address) leads to cocoon status
> page but
>
>                  192.168.0.180/cocoon/hello.xml
> Works.

in looking at the cocoon source last night i think there's
a problem with the Cocoon.service() method near the
request.getPathInfo() conditional. i just looked into it
briefly late last night so i could be off base a bit but
i do believe that the related posting on jsp-interest
concerning cocoon fixes to run on jswdk are most likely
quite valid.

> The consequence is that I fail to display a xml file to be xsl processed in
> html if this file is not in the main webapp declared in default.cfg (in my
> case a "pictoris" folder) because if a file is in.. lets says.. "doconline"
> folder, a call to
>
>                 192.168.0.180/cocoon/doconline/hello.xml
>
> Leads to a logical error saying that the url is not found
>
> //----
> Cocoon 1.3.1
> Error found handling the request. java.io.FileNotFoundException:
> C:\JSWDK\pictoris\doconline\news.xml [...]
> //-----
>
> The conclusion of this is perhaps that SUN may want to publish a document
> stating the standard recommendation for 100% Java Web server settings (for
> example the webapp concept and the WEB-INF directory role).

servlet 2.2 expands on this. a link is provided below.

> Because in fact today JWSDK 1.0-EA is two pretty different stuff in one:

different yet completely complimentary in my mind. also, these
components are, for the most part, completely pluggable (or will
be).

> - a Web Server reference implementation (as JWS will be discontinued)
> - A JSP API reference implementation
> - A servlet API reference implementation
>
>  >        now, i'm doing this under the next tomcat release
>  >        which is the servlet 2.2 reference implementation
>  >        and i realize the following will only be relevant to
>  >        a select number of folks on this list but ...
>
> If its not a secret, is it possible to know when the other people will be
> able to have a look at Tomcat 2.2 ? :-)

soon. an annoucement will be posted here.

i was just trying to give a taste of what is to come.
jswdk support for servlet 2.2 is nearly baked.

>
>  >        here's the configuration information i'm using:
>
> This is (in xml format) the same configuration I'm using for Tomcat 1.0
> except for
>
>      <url-pattern>
>        *.xml
>      </url-pattern>
>
> Is the "*" a new way to declare the mapping ?

yep. this is stated in the servlet 2.2 spec:

        http://java.sun.com/products/servlet/2.2/index.html

> Current Tomcat release uses
> .xml=cocoon or
> .jsp=jsp
>
> not *.xml = cocoon *.jsp=jsp
>
> Thanks in advance
>
> +------------------------------------------------+
> | Luc Saint-Elie                                 |
> | 53, rue Caulaincourt                           |
> | 75018  Paris France                            |
> | Tel: 01 42 52 09 62 / 06 12 90 19 65           |
> | email : [EMAIL PROTECTED]                   |
> +------------------------------------------------+
> |  Java Server Side  Open Source technologies    |
> |       http://www.interpasnet.com/JSS           |
> +------------------------------------------------+
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to