Lori, In this case, you just want the web server to send the file to your browser. URLs that are passed to Jetspeed by the web server, are interpreted by Jetspeed. Jetspeed will generate content based on the URL. Granted their are some file that should be in the Jetspeed tree, like default.css. The <jetspeed-home>/WEB-INF/web.xml file can be edited to minimize the number of URLs that are passed to Jetspeed by the servlet server, i.e. Tomcat.
When you say "I want to use relative urls.", I suggest they be relative to the host, not the current page. This is because the URL for the current page is calculated by Jetspeed based on a number of factors that will affect how far the page is from the root, i.e. /. Why did the Word files work and the Excel files not work? Check the jetspeed log file. Paul Spencer Funk, Lori K. wrote: > Paul, > > Thanks for the advice. Please help me understand why it's bad to have > this content under jetspeed. I want to use relative urls. > > Lori > > -----Original Message----- > From: Paul Spencer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 11:00 AM > To: Jetspeed Users List > Subject: Re: Mime type for xls files > > > Lori, > As long as the link is correct, this is not a Jetspeed problem. > > I just realized the URL for you doc and xsl files are under jetspeed. > This mean Jetspeed will process the URL, this is NOT what you to do! > Move the files so they are NOT in the jetspeed directory tree. > > Paul Spencer > > Funk, Lori K. wrote: > > > Paul, > > > > Yes, I know about the issue with the spaces. When I click the link > > (with spaces) the spaces are correctly encoded as %20 in the url that > is > > displayed in the browser. Still the data displayed is junk. Also, I > > tried changing the file name to exclude spaces, same problem. Yes, I > > can display this file in a browser, just not via jetspeed (and > tomcat). > > > > Lori > > > > -----Original Message----- > > From: Paul Spencer [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, November 15, 2001 9:22 AM > > To: Jetspeed Users List > > Subject: Re: Mime type for xls files > > > > > > Lori, > > I assume clicking the following link will display your Phone List? > > > http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2/PPI > > Internal Phone Lists.xls > > > http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2/PPI%2 > > 0Internal%20Phone%20Lists.xls > > > > > > I suspect the first link may NOT work, but the second always will > work. > > The reason is you URL contains spaces. You sould use %20 in place > of > > a space in a URL. > > > > Paul Spencer > > > > Funk, Lori K. wrote: > > > > > >>Hi Paul, > >> > >>Specifically, the html file looks like this: > >> > >><html> > >><body> > >><ul> > >><li><a href="../../reference/sitehowto.htm" target="_blank">How to > use > >>this site</a></li> > >><li><a href="policies.htm" target="_blank">Policies</a></li> > >><li><a href="../../reference/p2/How to Work P2 Phones.doc" > >>target="_blank">Phone System How-to</a></li> > >><li><a href="../../reference/p2/PPI Internal Phone Lists.xls" > >>target="_blank">Phone List</a></li> > >><li><a href="some.htm" target="_blank">Access Cards</a></li> > >><li><a href="some.htm" target="_blank">Children at Work</a></li> > >><li><a href="some.htm" target="_blank">Payroll</a></li> > >><li><a href="some.htm" target="_blank">Email How-To</a></li> > >><li><a href="some.htm" target="_blank">Organization Chart</a></li> > >><li><a href="../../reference/p2/Employee Conduct and Business > >>Relationships 4.20.01.doc" target="_blank">Employee Conduct</a></li> > >><li><a href="../Holiday Schedule 02 FINALP2 and Paradigm.doc" > >>target="_blank">2002 Holiday Schedule</a></li> > >><li><a href="../Holiday Schedule 01.doc" target="_blank">2001 Holiday > >>Schedule</a></li> > >><li><a href="some.htm" target="_blank">FAQ</a></li> > >></ul> > >></body> > >></html> > >> > >>The html source from the rendered portal page (just that specific > >>portlet) looks like this: > >> > >><html> > >><body> > >><ul> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/si > > > >>tehowto.htm">How to use this site</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/polici > > > >>es.htm">Policies</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2 > > > >>/How to Work P2 Phones.doc">Phone System How-to</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2 > > > >>/PPI Internal Phone Lists.xls">Phone List</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h > > > >>tm">Access Cards</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h > > > >>tm">Children at Work</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h > > > >>tm">Payroll</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h > > > >>tm">Email How-To</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h > > > >>tm">Organization Chart</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/reference/p2 > > > >>/Employee Conduct and Business Relationships 4.20.01.doc">Employee > >>Conduct</a></li> > >><li><a target="_blank" > > >>>href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/Holiday >>> > >>Schedule 02 FINALP2 and Paradigm.doc">2002 Holiday Schedule</a></li> > >><li><a target="_blank" > > >>>href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/Holiday >>> > >>Schedule 01.doc">2001 Holiday Schedule</a></li> > >><li><a target="_blank" > >> > >> > > > href="http://funk.petroleumplace.com:8090/jetspeed/intranet/hr/p2/some.h > > > >>tm">FAQ</a></li> > >></ul> > >></body> > >></html> > >> > >>Clicking on the Phone Lists link displays (just the first couple > lines > >>as an example): > >> > >>��ࡱ�>�� > >> > >> > > > GI����HN������������������������������������������������������������ > > > > > ������������������������������������������������������������������������ > > > > > ������������������������������������������������������������������������ > > > > > ������������������������������������������������������������������������ > > > > > ������������������������������������������������������������������������ > > > > > ������������������������������������������������������������������������ > > > >>�������� ^��@����\php00033 > >>B�a�=oe��=x?;u! > >> > >>I've tried the suggestions for the mime-mapping value in web.xml and > >>still no luck. I appreciate any help you can provide. > >> > >>Thanks > >>Lori > >> > >> > >> > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
