xsl-list
[Top] [All Lists]

AW: tomcat web server and dynamic XSL

2004-04-27 06:10:09
Nooooooo, the problem is on the next page. The URL I send is just the
index page, the problems occur on the next pages! But atm the server is
down.

|-----Ursprüngliche Nachricht-----
|Von: Emmanuil Batsis (Manos) [mailto:mbatsis(_at_)netsmart(_dot_)gr]
|Gesendet: Dienstag, 27. April 2004 14:52
|An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
|Betreff: Re: [xsl] tomcat web server and dynamic XSL
|
|Using the URL you provided, I see exactly the same XHTML page with Moz
|and IE6. No XML with PI, no XSL, no nothing that has *anything* to do
|with the problem you have described thus far. I give. Sorry.
|
|Nikolas Nehmer wrote:
|
|> Thats the point, but with mozilla it IS possible and NO Problems
occur!
|> So any ideas what could be wrong? It must be any serverside
|> configurations.
|>
|>
|>
|> |
|> |Sure, i can reach an xhtml page at that url, but *not* the XML page
you
|> |are trying to transform.
|> |
|> |Nikolas Nehmer wrote:
|> |
|> |> http://217.227.140.47:8080/Diplom/index.xhtml
|> |>
|> |> atm you could reach the server at the given URL ;-)
|> |>
|> |> Best regards,
|> |> Nick
|> |>
|> |> |-----Ursprüngliche Nachricht-----
|> |> |Von: Emmanuil Batsis (Manos) [mailto:mbatsis(_at_)netsmart(_dot_)gr]
|> |> |Gesendet: Dienstag, 27. April 2004 14:24
|> |> |An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
|> |> |Betreff: Re: AW: AW: AW: [xsl] tomcat web server and dynamic XSL
|> |> |
|> |> |Yup. Provide us URLs ;-)
|> |> |
|> |> |Nikolas Nehmer wrote:
|> |> |
|> |> |> It does NOT work. The mime type mapping was already set in the
|> |> web.xml
|> |> |> but IE is unable to open the page. Mozilla has no problem to
|> display.
|> |> |> What else could it be? Any suggestions?
|> |> |>
|> |> |> Best regards,
|> |> |> Nick
|> |> |>
|> |> |>
|> |> |> |
|> |> |> |Yes right i am using xsl. Without editing the mime entry it
seems
|> to
|> |> |> |work for mozilla but not IE. I'll try to edit the mime type
soon
|> and
|> |> I
|> |> |> |will report if it worked ;-)
|> |> |> |
|> |> |> |
|> |> |> ||
|> |> |> ||If it works for your browser when using the filesystem it can
|> work
|> |> for
|> |> |> ||your browser when... browsing ;-)
|> |> |> ||
|> |> |> ||Go to your <Tomcat installation directory>/conf/web.xml and
add
|> the
|> |> |> ||following mime entry (after you back up and make sure you
dont
|> have
|> |> to
|> |> |> ||edit an existing one):
|> |> |> ||
|> |> |> ||<mime-mapping>
|> |> |> ||<extension>xsl</extension>
|> |> |> ||<mime-type>text/xml</mime-type>
|> |> |> ||</mime-mapping>
|> |> |> ||
|> |> |> ||You are using .xsl not .xslt, right?
|> |> |> ||
|> |> |> ||hth,
|> |> |> ||
|> |> |> ||Manos
|> |> |> ||
|> |> |> ||Nikolas Nehmer wrote:
|> |> |> ||
|> |> |> ||> I don't know?!(&"&%§(
|> |> |> ||>
|> |> |> ||> Maybe the dynamic delivery of XSL files to the browser,
|> dependent
|> |> on
|> |> |> |the
|> |> |> ||> stylesheet tag in the xml file is not possible? I thought
the
|> |> |> Browser
|> |> |> ||> would create another http request when he realizes that he
|> needs
|> |> a
|> |> |> ||> stylesheet. But obviously this does not work and i have to
|> |> transform
|> |> |> |the
|> |> |> ||> xml files on server side?!
|> |> |> ||>
|> |> |> ||> Best regards,
|> |> |> ||> Nick
|> |> |> ||>
|> |> |> ||> |-----Ursprüngliche Nachricht-----
|> |> |> ||> |Von: Emmanuil Batsis (Manos) 
[mailto:mbatsis(_at_)netsmart(_dot_)gr]
|> |> |> ||> |Gesendet: Dienstag, 27. April 2004 12:32
|> |> |> ||> |An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
|> |> |> ||> |Betreff: Re: AW: [xsl] tomcat web server and dynamic XSL
|> |> |> ||> |
|> |> |> ||> |Ah. Missed the fact that XML and XSL are two different
|> |> directories.
|> |> |> ||> Your
|> |> |> ||> |path is right so this could be a MIME issue?
|> |> |> ||> |
|> |> |> ||> |Emmanuil Batsis (Manos) wrote:
|> |> |> ||> |
|> |> |> ||> |>> The XML file was saved in
|> |> |> ||> Tomcat/webapps/myproject/XML/list/filename.xml
|> |> |> ||> |>> The XSL file was saved in
|> |> |> ||> Tomcat/webapps/myproject/XSL/visualisation.xsl
|> |> |> ||> |>> And thats the stylesheet tag is used in my xml file:
|> |> |> ||> |>> <?xml-stylesheet type="text/xsl"
|> |> |> ||> href="../../XSL/visualisation.xsl"?>
|> |> |> ||> |>
|> |> |> ||> |>
|> |> |> ||> |> Then that should be (you only want one level up, not
two)
|> |> |> ||> |>
|> |> |> ||> |> <?xml-stylesheet type="text/xsl"
|> |> |> href="../XSL/visualisation.xsl"?>
|> |> |> ||> |>
|> |> |> ||> |> Cheers,
|> |> |> ||> |>
|> |> |> ||> |
|> |> |> ||> |--
|> |> |> ||> |Manos Batsis
|> |> |> ||> |
|> |> |> ||> |     _  __    __                    __
|> |> |> ||> |    / |/ /__ / /____ __ _ ___ _____/ /_
|> |> |> ||> |   /    / -_) __(_-</  ' Y _ `/ __/ __/
|> |> |> ||> |  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|> |> |> ||> |
|> |> |> ||> |
|> |> |> ||> |http://www.netsmart.gr
|> |> |> ||> |mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
|> |> |> ||> |tel:+302103240940
|> |> |> ||> |http://forte.netsmart.gr/foaf/manos_foaf.rdf
|> |> |> ||> |
|> |> |> ||> |
|> |> |> ||> |
|> |> |> ||>
|> |> |>
|> |>
|>
||--+------------------------------------------------------------------
|> |> |> ||> |XSL-List info and archive:
|> |> |> http://www.mulberrytech.com/xsl/xsl-list
|> |> |> ||> |To unsubscribe, go to:
|> http://lists.mulberrytech.com/xsl-list/
|> |> |> ||> |or e-mail:
|> <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> |> ||> |--+--
|> |> |> ||>
|> |> |> ||>
|> |> |> ||>
|> |> |>
|> --+------------------------------------------------------------------
|> |> |> ||> XSL-List info and archive:
|> |> http://www.mulberrytech.com/xsl/xsl-list
|> |> |> ||> To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
|> |> |> ||> or e-mail:
|> <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> |> ||> --+--
|> |> |> ||>
|> |> |> ||>
|> |> |> ||
|> |> |> ||--
|> |> |> ||Manos Batsis
|> |> |> ||
|> |> |> ||     _  __    __                    __
|> |> |> ||    / |/ /__ / /____ __ _ ___ _____/ /_
|> |> |> ||   /    / -_) __(_-</  ' Y _ `/ __/ __/
|> |> |> ||  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|> |> |> ||
|> |> |> ||
|> |> |> ||http://www.netsmart.gr
|> |> |> ||mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
|> |> |> ||tel:+302103240940
|> |> |> ||http://forte.netsmart.gr/foaf/manos_foaf.rdf
|> |> |> ||
|> |> |> ||
|> |> |> ||
|> |> |>
|> |>
|>
||--+------------------------------------------------------------------
|> |> |> ||XSL-List info and archive:
|> |> http://www.mulberrytech.com/xsl/xsl-list
|> |> |> ||To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
|> |> |> ||or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> |> ||--+--
|> |> |> |
|> |> |> |
|> |> |>
|> |>
|>
|--+------------------------------------------------------------------
|> |> |> |XSL-List info and archive:
|> http://www.mulberrytech.com/xsl/xsl-list
|> |> |> |To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|> |> |> |or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> |> |--+--
|> |> |>
|> |> |>
|> |> |>
|> --+------------------------------------------------------------------
|> |> |> XSL-List info and archive:
|> http://www.mulberrytech.com/xsl/xsl-list
|> |> |> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|> |> |> or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> |> --+--
|> |> |>
|> |> |>
|> |> |
|> |> |--
|> |> |Manos Batsis
|> |> |
|> |> |     _  __    __                    __
|> |> |    / |/ /__ / /____ __ _ ___ _____/ /_
|> |> |   /    / -_) __(_-</  ' Y _ `/ __/ __/
|> |> |  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|> |> |
|> |> |
|> |> |http://www.netsmart.gr
|> |> |mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
|> |> |tel:+302103240940
|> |> |http://forte.netsmart.gr/foaf/manos_foaf.rdf
|> |> |
|> |> |
|> |> |
|> |>
|>
|--+------------------------------------------------------------------
|> |> |XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
|> |> |To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|> |> |or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> |--+--
|> |>
|> |>
|> |>
--+------------------------------------------------------------------
|> |> XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
|> |> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|> |> or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |> --+--
|> |>
|> |>
|> |
|> |--
|> |Manos Batsis
|> |
|> |     _  __    __                    __
|> |    / |/ /__ / /____ __ _ ___ _____/ /_
|> |   /    / -_) __(_-</  ' Y _ `/ __/ __/
|> |  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|> |
|> |
|> |http://www.netsmart.gr
|> |mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
|> |tel:+302103240940
|> |http://forte.netsmart.gr/foaf/manos_foaf.rdf
|> |
|> |
|> |
|>
|--+------------------------------------------------------------------
|> |XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
|> |To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|> |or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> |--+--
|>
|>
|> --+------------------------------------------------------------------
|> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
|> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|> or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|> --+--
|>
|>
|
|--
|Manos Batsis
|
|     _  __    __                    __
|    / |/ /__ / /____ __ _ ___ _____/ /_
|   /    / -_) __(_-</  ' Y _ `/ __/ __/
|  /_/|_/\__/\__/___/_/_/_|_,_/_/  \__/
|
|
|http://www.netsmart.gr
|mailto:mbatsisSPAM_TRAP(_at_)netsmart(_dot_)gr
|tel:+302103240940
|http://forte.netsmart.gr/foaf/manos_foaf.rdf
|
|
|
|--+------------------------------------------------------------------
|XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
|To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
|or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
|--+--



<Prev in Thread] Current Thread [Next in Thread>