Hello everybody, I am creating a portlet that needs to get a URL and the script referenced by that URL as it's content, then rewrite all form tags and outside references so that action attributes and HREFS are passed as parameters. Fortunately much of this was done by the good people at Pervasive Technology Labs and we have a working portlet that will do the URL rewriting and will do form posts (instead of letting the browser do it). What I want to do now is have a config file that in XML describes extensions (*.gif, *.tar) to URIs and whether or not the portlet should rewrite the anchor tags that reference them to open up in a new window or not. So <a href="http://www.blob.mil:8080/flogbert.html">LINK</a> would be rewritten as <a href="http://myServer.com:8080?portletid=http://www.blob.mil:8080/flogbert.h tml">LINK</a> but <a href="http://www.borg.org:9000/data/packageofstuff.tar">DATA</a> would be written as <a href="http://www.borg.org:9000/data/packageofstuff.tar" target="blank">DATA</a> because the portlet would reference the config file that tells it that *.tar files are not to be rendered in the portlet. What would be the best way to reference such a file in jetspeed? I don't want to read a file everytime a portlet scans the html. Can I have the file read and persisted somewhere (I guess in Turbine) when jetspeed starts?
Thaks for any ideas, Casey -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
