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/07/30 22:42:32 UTC

relative path

Inside AbstractPortlet.getContent(), how can I determine what my directory path is?
I'm creating an HTML file on the fly which I intend to load into an IFRAME (so it has scroll bars, since it might be big).
using File.getPath or File.getName doesn't get me something that seems to work.  I suspect because they are both
absolute paths which don't get loaded properly by http protocol.  I'd like to use relative path name so that 
IFRAME SRC=...myfile.html  will work properly.  How can I find that from RunData or any other mechanism?

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>