You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Wayne A Christian <wa...@genesyslab.com> on 2002/08/02 22:44:59 UTC

relative URLs

If I have a file (lets say html) under WEB-INF/scripts/  what is the URL to that file?
I thought it would be relative to ${catalina.home}, which is the tomcat directory, but
I can't seem to get access.  If I want a user to be able to type in http://localhost:8080/jetspeed/<blah>/myindex.html  
how do I do that?
Wayne Christian
Sr. Staff Software Engineer
Genesys Telecommunications Labs
2100 Gateway Centre Blvd.  Suite 300
Morrisville,  NC      27560
?	Office:	(919) 466-6151
	Fax:	(919) 
?	EMail:	mailto:wac@genesyslab.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: relative URLs

Posted by Mark Orciuch <ma...@ngsltd.com>.
By default, WEB-INF folder is not accessible directly thru the browser. You
can "wrap" your html file as an HTML portlet or move the file to a location
above WEB-INF.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com

-----Original Message-----
From: Wayne A Christian [mailto:wac@genesyslab.com]
Sent: Friday, August 02, 2002 3:45 PM
To: Jetspeed Users List; mark_orciuch@ngsltd.com
Subject: relative URLs



If I have a file (lets say html) under WEB-INF/scripts/  what is the URL to
that file?
I thought it would be relative to ${catalina.home}, which is the tomcat
directory, but
I can't seem to get access.  If I want a user to be able to type in
http://localhost:8080/jetspeed/<blah>/myindex.html
how do I do that?
Wayne Christian
Sr. Staff Software Engineer
Genesys Telecommunications Labs
2100 Gateway Centre Blvd.  Suite 300
Morrisville,  NC      27560
?	Office:	(919) 466-6151
	Fax:	(919)
?	EMail:	mailto:wac@genesyslab.com


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>